python310Packages.svgelements: init at 1.9.6
This commit is contained in:
parent
d0120f0ed6
commit
541954ac76
50
pkgs/development/python-modules/svgelements/default.nix
Normal file
50
pkgs/development/python-modules/svgelements/default.nix
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
|
, wheel
|
||||||
|
, anyio
|
||||||
|
, numpy
|
||||||
|
, pillow
|
||||||
|
, pytest-forked
|
||||||
|
, pytest-xdist
|
||||||
|
, pytestCheckHook
|
||||||
|
, scipy
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "svgelements";
|
||||||
|
version = "1.9.6";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "meerk40t";
|
||||||
|
repo = "svgelements";
|
||||||
|
rev = "refs/tags/${version}";
|
||||||
|
hash = "sha256-nx2sGXeeh8S17TfRDFifQbdSxc4YGsDNnrPSSbxv7S4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
setuptools
|
||||||
|
wheel
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "svgelements" ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
anyio
|
||||||
|
numpy
|
||||||
|
pillow
|
||||||
|
pytest-forked
|
||||||
|
pytest-xdist
|
||||||
|
pytestCheckHook
|
||||||
|
scipy
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "SVG Parsing for Elements, Paths, and other SVG Objects";
|
||||||
|
homepage = "https://github.com/meerk40t/svgelements";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ GaetanLepage ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -12577,6 +12577,8 @@ self: super: with self; {
|
||||||
|
|
||||||
svg-path = callPackage ../development/python-modules/svg-path { };
|
svg-path = callPackage ../development/python-modules/svg-path { };
|
||||||
|
|
||||||
|
svgelements = callPackage ../development/python-modules/svgelements { };
|
||||||
|
|
||||||
svgwrite = callPackage ../development/python-modules/svgwrite { };
|
svgwrite = callPackage ../development/python-modules/svgwrite { };
|
||||||
|
|
||||||
sv-ttk = callPackage ../development/python-modules/sv-ttk { };
|
sv-ttk = callPackage ../development/python-modules/sv-ttk { };
|
||||||
|
|
Loading…
Reference in a new issue