nixpkgs/pkgs/development/python-modules/preggy/default.nix

26 lines
605 B
Nix
Raw Normal View History

2018-10-27 18:04:03 +02:00
{ stdenv, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
buildPythonPackage rec {
pname = "preggy";
2019-12-10 19:07:41 +01:00
version = "1.4.4";
2018-10-27 18:04:03 +02:00
propagatedBuildInputs = [ six unidecode ];
checkInputs = [ nose yanc ];
src = fetchPypi {
inherit pname version;
2019-12-10 19:07:41 +01:00
sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
2018-10-27 18:04:03 +02:00
};
checkPhase = ''
nosetests .
'';
meta = with stdenv.lib; {
description = "Assertion library for Python";
homepage = http://heynemann.github.io/preggy/;
license = licenses.mit;
maintainers = with maintainers; [ jluttine ];
};
}