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

26 lines
607 B
Nix
Raw Normal View History

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