1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, wheel
6, bitlist
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "fountains";
12 version = "2.2.0";
13 format = "pyproject";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-MhOQ4pemxmjfp7Uy5hLA8i8BBI5QbvD4EjEcKMM/u3I=";
20 };
21
22 nativeBuildInputs = [
23 setuptools
24 wheel
25 ];
26
27 propagatedBuildInputs = [
28 bitlist
29 ];
30
31 # Module has no test
32 doCheck = false;
33
34 pythonImportsCheck = [
35 "fountains"
36 ];
37
38 meta = with lib; {
39 description = "Python library for generating and embedding data for unit testing";
40 homepage = "https://github.com/reity/fountains";
41 license = with licenses; [ mit ];
42 maintainers = with maintainers; [ fab ];
43 };
44}