mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 11:45:45 +03:00
Merge pull request #315983 from NixOS/backport-315702-to-release-24.05
[Backport release-24.05] svg2tikz: 3.0.1 -> 3.1.0
This commit is contained in:
commit
94e665850f
1 changed files with 14 additions and 5 deletions
|
@ -7,30 +7,39 @@
|
|||
inkex,
|
||||
lxml,
|
||||
pytestCheckHook,
|
||||
pythonRelaxDepsHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "svg2tikz";
|
||||
version = "3.0.1";
|
||||
version = "3.1.0";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
format = "pyproject";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "xyz2tex";
|
||||
repo = "svg2tikz";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-hvGvJFxhu7llj+tFfZvz12dZ8QYjY7zcLzB5S44l+IM=";
|
||||
hash = "sha256-lL+CQGZMK+rxjw2kTNE6kK3FCt6ARsAD6ROMsXWwDCs=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
build-system = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
dependencies = [
|
||||
inkex
|
||||
lxml
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"lxml"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pythonRelaxDepsHook ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "svg2tikz" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue