adding plotutils
svn path=/nixpkgs/trunk/; revision=17862
This commit is contained in:
parent
6614345f29
commit
09d4027cc0
31
pkgs/tools/graphics/plotutils/default.nix
Normal file
31
pkgs/tools/graphics/plotutils/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
args: with args;
|
||||||
|
|
||||||
|
# debian splits this package into plotutils and libplot2c2
|
||||||
|
|
||||||
|
# gentoo passes X, this package contains fonts
|
||||||
|
# I'm only interested in making pstoedit convert to svg
|
||||||
|
|
||||||
|
let name = "plotutils-2.6";
|
||||||
|
in
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
|
||||||
|
inherit name;
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://mirrors.zerg.biz/gnu/plotutils/${name}.tar.gz";
|
||||||
|
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [libpng];
|
||||||
|
|
||||||
|
configureFlags = "--enable-libplotter"; # required for pstoedit
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "a powerful C/C++ function library for exporting 2-D vector graphics";
|
||||||
|
homepage = http://www.gnu.org/software/plotutils/;
|
||||||
|
license = "GPLv2";
|
||||||
|
maintainers = [args.lib.maintainers.marcweber];
|
||||||
|
platforms = args.lib.platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -1293,6 +1293,10 @@ let
|
|||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
plotutils = import ../tools/graphics/plotutils {
|
||||||
|
inherit fetchurl stdenv lib libpng;
|
||||||
|
};
|
||||||
|
|
||||||
povray = import ../tools/graphics/povray {
|
povray = import ../tools/graphics/povray {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user