depot/third_party/nixpkgs/pkgs/development/python-modules/preggy/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

40 lines
663 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
six,
unidecode,
nose,
yanc,
}:
buildPythonPackage rec {
pname = "preggy";
version = "1.4.4";
format = "setuptools";
propagatedBuildInputs = [
six
unidecode
];
nativeCheckInputs = [
nose
yanc
];
src = fetchPypi {
inherit pname version;
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
};
checkPhase = ''
nosetests .
'';
meta = with lib; {
description = "Assertion library for Python";
homepage = "http://heynemann.github.io/preggy/";
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}