Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
952 B
Nix
44 lines
952 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
python3,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "inkscape-applytransforms";
|
|
version = "0.pre+unstable=2021-05-11";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Klowner";
|
|
repo = "inkscape-applytransforms";
|
|
rev = "5b3ed4af0fb66e399e686fc2b649b56db84f6042";
|
|
sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
python3.pkgs.inkex
|
|
python3.pkgs.pytestCheckHook
|
|
];
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dt "$out/share/inkscape/extensions" *.inx *.py
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Inkscape extension which removes all matrix transforms by applying them recursively to shapes";
|
|
homepage = "https://github.com/Klowner/inkscape-applytransforms";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|