summary refs log tree commit diff
path: root/pkgs/development/python-modules/preggy/default.nix
blob: cf2867322f7b650749046130a30e50db8153e7a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ stdenv, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:

buildPythonPackage rec {
  pname = "preggy";
  version = "1.4.4";

  propagatedBuildInputs = [ six unidecode ];
  checkInputs = [ nose yanc ];

  src = fetchPypi {
    inherit pname version;
    sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
  };

  checkPhase = ''
    nosetests .
  '';

  meta = with stdenv.lib; {
    description = "Assertion library for Python";
    homepage = http://heynemann.github.io/preggy/;
    license = licenses.mit;
    maintainers = with maintainers; [ jluttine ];
  };
}