1{ stdenv, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:
2
3buildPythonPackage rec {
4 pname = "preggy";
5 version = "1.4.2";
6
7 propagatedBuildInputs = [ six unidecode ];
8 checkInputs = [ nose yanc ];
9
10 src = fetchPypi {
11 inherit pname version;
12 sha256 = "0g4ifjh01dkmdzs4621ahk8hpkngid1xxhl51jvzy4h4li4590hw";
13 };
14
15 checkPhase = ''
16 nosetests .
17 '';
18
19 meta = with stdenv.lib; {
20 description = "Assertion library for Python";
21 homepage = http://heynemann.github.io/preggy/;
22 license = licenses.mit;
23 maintainers = with maintainers; [ jluttine ];
24 };
25}