pysvg-py3: init at 0.2.2-post3
needed for timeline package
This commit is contained in:
parent
046bc37d1c
commit
e9e72ab47a
33
pkgs/development/python-modules/pysvg-py3/default.nix
Normal file
33
pkgs/development/python-modules/pysvg-py3/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, python
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "pysvg-py3";
|
||||||
|
version = "0.2.2-post3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "alorence";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1slync0knpcjgl4xpym8w4249iy6vmrwbarpnbjzn9xca8g1h2f0";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
mkdir testoutput
|
||||||
|
${python.interpreter} sample/tutorial.py
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "pysvg" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = "https://github.com/alorence/pysvg-py3";
|
||||||
|
description = "Creating SVG with Python";
|
||||||
|
license = lib.licenses.bsd2;
|
||||||
|
maintainers = with lib.maintainers; [ davidak ];
|
||||||
|
};
|
||||||
|
}
|
@ -6222,6 +6222,8 @@ in {
|
|||||||
|
|
||||||
py_stringmatching = callPackage ../development/python-modules/py_stringmatching { };
|
py_stringmatching = callPackage ../development/python-modules/py_stringmatching { };
|
||||||
|
|
||||||
|
pysvg-py3 = callPackage ../development/python-modules/pysvg-py3 { };
|
||||||
|
|
||||||
pysvn = callPackage ../development/python-modules/pysvn {
|
pysvn = callPackage ../development/python-modules/pysvn {
|
||||||
inherit (pkgs) bash subversion apr aprutil expat neon openssl;
|
inherit (pkgs) bash subversion apr aprutil expat neon openssl;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user