mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
GNU Plotutils: cosmetic changes; adding myself as co-maintainer.
svn path=/nixpkgs/trunk/; revision=18231
This commit is contained in:
parent
b02ba2aff8
commit
1cebea089b
@ -1,19 +1,15 @@
|
|||||||
args: with args;
|
{ fetchurl, stdenv, libpng }:
|
||||||
|
|
||||||
# debian splits this package into plotutils and libplot2c2
|
# debian splits this package into plotutils and libplot2c2
|
||||||
|
|
||||||
# gentoo passes X, this package contains fonts
|
# gentoo passes X, this package contains fonts
|
||||||
# I'm only interested in making pstoedit convert to svg
|
# I'm only interested in making pstoedit convert to svg
|
||||||
|
|
||||||
let name = "plotutils-2.6";
|
stdenv.mkDerivation rec {
|
||||||
in
|
name = "plotutils-2.6";
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://mirrors.zerg.biz/gnu/plotutils/${name}.tar.gz";
|
url = "mirror://gnu/plotutils/${name}.tar.gz";
|
||||||
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
|
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -21,11 +17,34 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
configureFlags = "--enable-libplotter"; # required for pstoedit
|
configureFlags = "--enable-libplotter"; # required for pstoedit
|
||||||
|
|
||||||
meta = {
|
doCheck = true;
|
||||||
description = "a powerful C/C++ function library for exporting 2-D vector graphics";
|
|
||||||
|
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/;
|
homepage = http://www.gnu.org/software/plotutils/;
|
||||||
license = "GPLv2";
|
|
||||||
maintainers = [args.lib.maintainers.marcweber];
|
license = "GPLv2+";
|
||||||
platforms = args.lib.platforms.linux;
|
maintainers = [
|
||||||
|
stdenv.lib.maintainers.marcweber
|
||||||
|
stdenv.lib.maintainers.ludo
|
||||||
|
];
|
||||||
|
platforms = stdenv.lib.platforms.gnu;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1311,7 +1311,7 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
plotutils = import ../tools/graphics/plotutils {
|
plotutils = import ../tools/graphics/plotutils {
|
||||||
inherit fetchurl stdenv lib libpng;
|
inherit fetchurl stdenv libpng;
|
||||||
};
|
};
|
||||||
|
|
||||||
povray = import ../tools/graphics/povray {
|
povray = import ../tools/graphics/povray {
|
||||||
|
Loading…
Reference in New Issue
Block a user