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
34
pkgs/development/libraries/libspectre/default.nix
Normal file
34
pkgs/development/libraries/libspectre/default.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ fetchurl, lib, stdenv, pkg-config, ghostscript, cairo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libspectre";
|
||||
version = "0.2.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://libspectre.freedesktop.org/releases/${pname}-${version}.tar.gz";
|
||||
sha256 = "1v63lqc6bhhxwkpa43qmz8phqs8ci4dhzizyy16d3vkb20m846z8";
|
||||
};
|
||||
|
||||
patches = [ ./libspectre-0.2.7-gs918.patch ];
|
||||
|
||||
buildInputs = [
|
||||
# Need `libgs.so'.
|
||||
pkg-config ghostscript cairo /*for tests*/
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
homepage = "http://libspectre.freedesktop.org/";
|
||||
description = "PostScript rendering library";
|
||||
|
||||
longDescription = ''
|
||||
libspectre is a small library for rendering Postscript
|
||||
documents. It provides a convenient easy to use API for
|
||||
handling and rendering Postscript documents.
|
||||
'';
|
||||
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue