diff options
author | Marc Weber <marco-oweber@gmx.de> | 2009-10-18 04:43:50 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2009-10-18 04:43:50 +0000 |
commit | 09d4027cc0d48526d1ccbcd035d2ee9751005fba (patch) | |
tree | efb76c733560009c686eeba9c41801d453cb943b /pkgs/tools/graphics/plotutils | |
parent | 6614345f296db923316b6b49503fa9888e34bf92 (diff) |
adding plotutils
svn path=/nixpkgs/trunk/; revision=17862
Diffstat (limited to 'pkgs/tools/graphics/plotutils')
-rw-r--r-- | pkgs/tools/graphics/plotutils/default.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/plotutils/default.nix b/pkgs/tools/graphics/plotutils/default.nix new file mode 100644 index 0000000000000..87866244cd784 --- /dev/null +++ b/pkgs/tools/graphics/plotutils/default.nix @@ -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; + }; +} |