summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/preggy/default.nix
blob: 0054e56ae73fa5df1a27077e04c2808a850fbb45 (plain)
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
27
28
29
30
31
32
33
34
35
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  six,
  unidecode,
  pytest8_3CheckHook,
}:

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

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

  build-system = [ setuptools ];

  dependencies = [
    six
    unidecode
  ];
  nativeCheckInputs = [ pytest8_3CheckHook ];

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