lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

pythonPackages.grandalf: init at 0.6

+58
+41
pkgs/development/python-modules/grandalf/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , pyparsing 5 + , future 6 + , pytest 7 + , pytestrunner 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "grandalf"; 12 + version = "0.6"; 13 + 14 + # fetch from github to acquire tests 15 + src = fetchFromGitHub { 16 + owner = "bdcht"; 17 + repo = "grandalf"; 18 + rev = "v${version}"; 19 + sha256 = "1f1l288sqna0bca7dwwvyw7wzg9b2613g6vc0g0vfngm7k75b2jg"; 20 + }; 21 + 22 + propagatedBuildInputs = [ 23 + pyparsing 24 + future 25 + ]; 26 + 27 + checkInputs = [ pytest pytestrunner ]; 28 + 29 + patches = [ ./no-setup-requires-pytestrunner.patch ]; 30 + 31 + checkPhase = '' 32 + pytest tests 33 + ''; 34 + 35 + meta = with lib; { 36 + description = "A python package made for experimentations with graphs and drawing algorithms"; 37 + homepage = https://github.com/bdcht/grandalf; 38 + license = licenses.gpl2; 39 + maintainers = with maintainers; [ cmcdragonkai ]; 40 + }; 41 + }
+15
pkgs/development/python-modules/grandalf/no-setup-requires-pytestrunner.patch
··· 1 + diff --git a/setup.py b/setup.py 2 + index 0470622..d574ceb 100755 3 + --- a/setup.py 4 + +++ b/setup.py 5 + @@ -75,8 +75,8 @@ setup( 6 + # your project is installed. For an analysis of "install_requires" vs pip's 7 + # requirements files see: 8 + # https://packaging.python.org/en/latest/requirements.html 9 + - setup_requires=['pytest-runner',], 10 + - tests_require=['pytest',], 11 + + setup_requires=[], 12 + + tests_require=['pytest','pytest-runner',], 13 + 14 + install_requires=['pyparsing','future'], 15 +
+2
pkgs/top-level/python-packages.nix
··· 378 378 379 379 goocalendar = callPackage ../development/python-modules/goocalendar { }; 380 380 381 + grandalf = callPackage ../development/python-modules/grandalf { }; 382 + 381 383 gsd = callPackage ../development/python-modules/gsd { }; 382 384 383 385 gssapi = callPackage ../development/python-modules/gssapi { };