adding plotutils

svn path=/nixpkgs/trunk/; revision=17862
This commit is contained in:
Marc Weber 2009-10-18 04:43:50 +00:00
parent 6614345f29
commit 09d4027cc0
2 changed files with 35 additions and 0 deletions

View 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;
};
}

View File

@ -1293,6 +1293,10 @@ let
inherit (xlibs) libX11;
};
plotutils = import ../tools/graphics/plotutils {
inherit fetchurl stdenv lib libpng;
};
povray = import ../tools/graphics/povray {
inherit fetchurl stdenv;
};