1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 setuptools,
6 six,
7 unidecode,
8 pytest8_3CheckHook,
9}:
10
11buildPythonPackage rec {
12 pname = "preggy";
13 version = "1.4.4";
14 pyproject = true;
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "25ba803afde4f35ef543a60915ced2e634926235064df717c3cb3e4e3eb4670c";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [
24 six
25 unidecode
26 ];
27 nativeCheckInputs = [ pytest8_3CheckHook ];
28
29 meta = with lib; {
30 description = "Assertion library for Python";
31 homepage = "http://heynemann.github.io/preggy/";
32 license = licenses.mit;
33 maintainers = with maintainers; [ jluttine ];
34 };
35}