pencil: new package
Pencil is a GUI prototyping/mockup tool. Homepage: http://pencil.evolus.vn/
This commit is contained in:
parent
1b5422d611
commit
5443dd4c00
33
pkgs/applications/graphics/pencil/default.nix
Normal file
33
pkgs/applications/graphics/pencil/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, xulrunner }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "pencil-2.0.5";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://evoluspencil.googlecode.com/files/${name}.tar.gz";
|
||||
sha256 = "0rn5nb08p8wph5s5gajkil6y06zgrm86p4gnjdgv76czx1fqazm0";
|
||||
};
|
||||
|
||||
# Pre-built package
|
||||
buildPhase = "true";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r usr/* "$out"
|
||||
cp COPYING "$out/share/pencil"
|
||||
sed -e "s|/usr/bin/xulrunner|${xulrunner}/bin/xulrunner|" \
|
||||
-e "s|/usr/share/pencil|$out/share/pencil|" \
|
||||
-i "$out/bin/pencil"
|
||||
sed -e "s|/usr/bin/pencil|$out/bin/pencil|" \
|
||||
-e "s|Icon=.*|Icon=$out/share/pencil/skin/classic/icon.svg|" \
|
||||
-i "$out/share/applications/pencil.desktop"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "GUI prototyping/mockup tool";
|
||||
homepage = http://pencil.evolus.vn/;
|
||||
license = licenses.gpl2; # Commercial license is also available
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -8581,6 +8581,8 @@ let
|
||||
|
||||
paraview = callPackage ../applications/graphics/paraview { };
|
||||
|
||||
pencil = callPackage ../applications/graphics/pencil { };
|
||||
|
||||
petrifoo = callPackage ../applications/audio/petrifoo {
|
||||
inherit (gnome) libgnomecanvas;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user