about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/preggy/default.nix
blob: a3ca7d15c77ed006e0e2fd8ca16995dea3f2a57a (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 ];
  };
}