inkscape-extensions.hexmap: init at 2020-06-06
This commit is contained in:
parent
67b4880faa
commit
2e0a15fce1
|
@ -0,0 +1,37 @@
|
|||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
{
|
||||
hexmap = stdenv.mkDerivation {
|
||||
name = "hexmap";
|
||||
version = "2020-06-06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "lifelike";
|
||||
repo = "hexmapextension";
|
||||
rev = "11401e23889318bdefb72df6980393050299d8cc";
|
||||
sha256 = "1a4jhva624mbljj2k43wzi6hrxacjz4626jfk9y2fg4r4sga22mm";
|
||||
};
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p "$out/share/inkscape/extensions"
|
||||
cp -p *.inx *.py "$out/share/inkscape/extensions/"
|
||||
find "$out/share/inkscape/extensions/" -name "*.py" -exec chmod +x {} \;
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "This is an extension for creating hex grids in Inkscape. It can also be used to make brick patterns of staggered rectangles";
|
||||
homepage = "https://github.com/lifelike/hexmapextension";
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = [ maintainers.raboof ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -20929,6 +20929,8 @@ in
|
|||
|
||||
inkscape-with-extensions = callPackage ../applications/graphics/inkscape/with-extensions.nix { };
|
||||
|
||||
inkscape-extensions = recurseIntoAttrs (callPackages ../applications/graphics/inkscape/extensions.nix {});
|
||||
|
||||
inkscape_0 = callPackage ../applications/graphics/inkscape/0.x.nix {
|
||||
lcms = lcms2;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue