pythonPackages.grandalf: init at 0.6
This commit is contained in:
parent
218deb3736
commit
ad7c305fac
41
pkgs/development/python-modules/grandalf/default.nix
Normal file
41
pkgs/development/python-modules/grandalf/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pyparsing
|
||||||
|
, future
|
||||||
|
, pytest
|
||||||
|
, pytestrunner
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "grandalf";
|
||||||
|
version = "0.6";
|
||||||
|
|
||||||
|
# fetch from github to acquire tests
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bdcht";
|
||||||
|
repo = "grandalf";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1f1l288sqna0bca7dwwvyw7wzg9b2613g6vc0g0vfngm7k75b2jg";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pyparsing
|
||||||
|
future
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [ pytest pytestrunner ];
|
||||||
|
|
||||||
|
patches = [ ./no-setup-requires-pytestrunner.patch ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A python package made for experimentations with graphs and drawing algorithms";
|
||||||
|
homepage = https://github.com/bdcht/grandalf;
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ cmcdragonkai ];
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index 0470622..d574ceb 100755
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -75,8 +75,8 @@ setup(
|
||||||
|
# your project is installed. For an analysis of "install_requires" vs pip's
|
||||||
|
# requirements files see:
|
||||||
|
# https://packaging.python.org/en/latest/requirements.html
|
||||||
|
- setup_requires=['pytest-runner',],
|
||||||
|
- tests_require=['pytest',],
|
||||||
|
+ setup_requires=[],
|
||||||
|
+ tests_require=['pytest','pytest-runner',],
|
||||||
|
|
||||||
|
install_requires=['pyparsing','future'],
|
||||||
|
|
@ -378,6 +378,8 @@ in {
|
|||||||
|
|
||||||
goocalendar = callPackage ../development/python-modules/goocalendar { };
|
goocalendar = callPackage ../development/python-modules/goocalendar { };
|
||||||
|
|
||||||
|
grandalf = callPackage ../development/python-modules/grandalf { };
|
||||||
|
|
||||||
gsd = callPackage ../development/python-modules/gsd { };
|
gsd = callPackage ../development/python-modules/gsd { };
|
||||||
|
|
||||||
gssapi = callPackage ../development/python-modules/gssapi { };
|
gssapi = callPackage ../development/python-modules/gssapi { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user