uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
59
pkgs/tools/graphics/plotutils/default.nix
Normal file
59
pkgs/tools/graphics/plotutils/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ fetchurl, lib, stdenv, libpng, autoreconfHook }:
|
||||
|
||||
# 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 {
|
||||
pname = "plotutils";
|
||||
version = "2.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/plotutils/plotutils-${version}.tar.gz";
|
||||
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ libpng ];
|
||||
patches = map fetchurl (import ./debian-patches.nix);
|
||||
|
||||
preBuild = ''
|
||||
# Fix parallel building.
|
||||
make -C libplot xmi.h
|
||||
'';
|
||||
|
||||
configureFlags = [ "--enable-libplotter" ]; # required for pstoedit
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "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 = "https://www.gnu.org/software/plotutils/";
|
||||
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.marcweber ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue