biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / applications / graphics / inkscape / extensions / applytransforms / default.nix
blobceab3eaea3d9a61ee2629fe62c7ddba504d3c632
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , python3
5 }:
7 stdenv.mkDerivation {
8   pname = "inkscape-applytransforms";
9   version = "0.pre+unstable=2021-05-11";
11   src = fetchFromGitHub {
12     owner = "Klowner";
13     repo = "inkscape-applytransforms";
14     rev = "5b3ed4af0fb66e399e686fc2b649b56db84f6042";
15     sha256 = "XWwkuw+Um/cflRWjIeIgQUxJLrk2DLDmx7K+pMWvIlI=";
16   };
18   nativeCheckInputs = [
19     python3.pkgs.inkex
20     python3.pkgs.pytestCheckHook
21   ];
23   dontBuild = true;
25   doCheck = true;
27   installPhase = ''
28     runHook preInstall
30     install -Dt "$out/share/inkscape/extensions" *.inx *.py
32     runHook postInstall
33   '';
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   };