python311Packages.svgutils: init at 0.3.4
This commit is contained in:
parent
6aee40bc72
commit
d061a3c154
pkgs
40
pkgs/development/python-modules/svgutils/default.nix
Normal file
40
pkgs/development/python-modules/svgutils/default.nix
Normal file
@ -0,0 +1,40 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, setuptools
|
||||
, lxml
|
||||
, matplotlib
|
||||
, pytestCheckHook
|
||||
, nose
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svgutils";
|
||||
version = "0.3.4";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "btel";
|
||||
repo = "svg_utils";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ITvZx+3HMbTyaRmCb7tR0LKqCxGjqDdV9/2taziUD0c=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
lxml
|
||||
matplotlib
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook nose ];
|
||||
|
||||
pythonImportsCheck = [ "svgutils" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python tools to create and manipulate SVG files";
|
||||
homepage = "https://github.com/btel/svg_utils";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -14002,6 +14002,8 @@ self: super: with self; {
|
||||
|
||||
svgelements = callPackage ../development/python-modules/svgelements { };
|
||||
|
||||
svgutils = callPackage ../development/python-modules/svgutils { };
|
||||
|
||||
svgwrite = callPackage ../development/python-modules/svgwrite { };
|
||||
|
||||
sv-ttk = callPackage ../development/python-modules/sv-ttk { };
|
||||
|
Loading…
Reference in New Issue
Block a user