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

26 lines
597 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
2018-10-27 17:04:03 +01:00
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 lib; {
2018-10-27 17:04:03 +01:00
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 ];
};
}