about summary refs log tree commit diff
path: root/pkgs/development/python-modules/preggy/default.nix
blob: a69044eb14ec7b52cc93a938f2eb57ee5068dbc8 (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
26
{ lib, buildPythonPackage, fetchPypi, six, unidecode, nose, yanc }:

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

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

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

  checkPhase = ''
    nosetests .
  '';

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