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