depot/third_party/nixpkgs/pkgs/development/python-modules/aspy-yaml/default.nix

25 lines
543 B
Nix
Raw Normal View History

{ 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 = "A few extensions to pyyaml";
homepage = "https://github.com/asottile/aspy.yaml";
license = licenses.mit;
};
}