depot/third_party/nixpkgs/pkgs/development/python-modules/svgutils/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

43 lines
805 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
lxml,
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=";
};
build-system = [ setuptools ];
dependencies = [ lxml ];
doCheck = pythonOlder "3.12";
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 ];
};
}