nixpkgs/pkgs/development/python-modules/preggy/default.nix
2018-11-29 12:38:28 +01:00

26 lines
593 B
Nix

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