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