nixpkgs/pkgs/development/python-modules/aspy-yaml/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
550 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 = with lib; {
description = "Few extensions to pyyaml";
homepage = "https://github.com/asottile/aspy.yaml";
license = licenses.mit;
};
}