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