Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyparsing, 6 future, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "grandalf"; 13 version = "0.7"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchFromGitHub { 19 owner = "bdcht"; 20 repo = pname; 21 rev = "v${version}"; 22 hash = "sha256-j2SvpQvDMfwoj2PAQSxzEIyIzzJ61Eb9wgetKyni6A4="; 23 }; 24 25 propagatedBuildInputs = [ 26 pyparsing 27 future 28 ]; 29 30 nativeCheckInputs = [ pytestCheckHook ]; 31 32 patches = [ ./no-setup-requires-pytestrunner.patch ]; 33 34 pythonImportsCheck = [ "grandalf" ]; 35 36 meta = with lib; { 37 description = "Module for experimentations with graphs and drawing algorithms"; 38 homepage = "https://github.com/bdcht/grandalf"; 39 license = licenses.gpl2Only; 40 maintainers = with maintainers; [ cmcdragonkai ]; 41 }; 42}