1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 six,
6 unidecode,
7 nose,
8 yanc,
9}:
10
11buildPythonPackage rec {
12 pname = "preggy";
13 version = "1.4.4";
14 format = "setuptools";
15
16 propagatedBuildInputs = [
17 six
18 unidecode
19 ];
20 nativeCheckInputs = [
21 nose
22 yanc
23 ];
24
25 src = fetchPypi {
26 inherit pname version;
27 sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
28 };
29
30 checkPhase = ''
31 nosetests .
32 '';
33
34 meta = with lib; {
35 description = "Assertion library for Python";
36 homepage = "http://heynemann.github.io/preggy/";
37 license = licenses.mit;
38 maintainers = with maintainers; [ jluttine ];
39 };
40}