567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
30 lines
544 B
Nix
30 lines
544 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
pyyaml,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aspy-yaml";
|
|
version = "1.3.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
pname = "aspy.yaml";
|
|
inherit version;
|
|
sha256 = "0i9z2jm2hjwdxdv4vw4kbs70h2ciz49rv8w73zbawb7z5qw45iz7";
|
|
};
|
|
|
|
propagatedBuildInputs = [ pyyaml ];
|
|
|
|
# Tests not included in PyPI tarball
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
description = "Few extensions to pyyaml";
|
|
homepage = "https://github.com/asottile/aspy.yaml";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|