inkscape-extensions.applytransforms: 0.0.0+unstable=2021-05-11

+45
+3
pkgs/applications/graphics/inkscape/extensions.nix
··· 2 2 , fetchFromGitHub 3 3 , runCommand 4 4 , inkcut 5 + , callPackage 5 6 }: 6 7 7 8 { 9 + applytransforms = callPackage ./extensions/applytransforms { }; 10 + 8 11 hexmap = stdenv.mkDerivation { 9 12 name = "hexmap"; 10 13 version = "2020-06-06";
+42
pkgs/applications/graphics/inkscape/extensions/applytransforms/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , python3 5 + }: 6 + 7 + stdenv.mkDerivation { 8 + pname = "inkscape-applytransforms"; 9 + version = "0.0.0+unstable=2021-05-11"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "Klowner"; 13 + repo = "inkscape-applytransforms"; 14 + rev = "5b3ed4af0fb66e399e686fc2b649b56db84f6042"; 15 + sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI="; 16 + }; 17 + 18 + checkInputs = [ 19 + python3.pkgs.inkex 20 + python3.pkgs.pytestCheckHook 21 + ]; 22 + 23 + dontBuild = true; 24 + 25 + doCheck = true; 26 + 27 + installPhase = '' 28 + runHook preInstall 29 + 30 + install -Dt "$out/share/inkscape/extensions" *.inx *.py 31 + 32 + runHook postInstall 33 + ''; 34 + 35 + meta = with lib; { 36 + description = "Inkscape extension which removes all matrix transforms by applying them recursively to shapes"; 37 + homepage = "https://github.com/Klowner/inkscape-applytransforms"; 38 + license = licenses.gpl2Only; 39 + maintainers = with maintainers; [ jtojnar ]; 40 + platforms = platforms.all; 41 + }; 42 + }