mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
b1762c6b49
svn path=/nixpkgs/branches/libpng15/; revision=31837
52 lines
1.6 KiB
Nix
52 lines
1.6 KiB
Nix
{ fetchurl, stdenv, libpng }:
|
|
|
|
# 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
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "plotutils-2.6";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/plotutils/${name}.tar.gz";
|
|
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
|
|
};
|
|
|
|
buildInputs = [libpng];
|
|
|
|
patches = map fetchurl (import ./debian-patches.nix);
|
|
|
|
configureFlags = "--enable-libplotter"; # required for pstoedit
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
description = "GNU Plotutils, a powerful C/C++ library for exporting 2D vector graphics";
|
|
|
|
longDescription =
|
|
'' The GNU plotutils package contains software for both programmers and
|
|
technical users. Its centerpiece is libplot, a powerful C/C++
|
|
function library for exporting 2-D vector graphics in many file
|
|
formats, both vector and raster. It can also do vector graphics
|
|
animations.
|
|
|
|
libplot is device-independent in the sense that its API (application
|
|
programming interface) does not depend on the type of graphics file
|
|
to be exported.
|
|
|
|
Besides libplot, the package contains command-line programs for
|
|
plotting scientific data. Many of them use libplot to export
|
|
graphics.
|
|
'';
|
|
|
|
homepage = http://www.gnu.org/software/plotutils/;
|
|
|
|
license = "GPLv2+";
|
|
maintainers = [
|
|
stdenv.lib.maintainers.marcweber
|
|
stdenv.lib.maintainers.ludo
|
|
];
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
};
|
|
}
|