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
38
pkgs/applications/misc/green-pdfviewer/default.nix
Normal file
38
pkgs/applications/misc/green-pdfviewer/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib, stdenv, fetchFromGitHub, poppler, pkg-config, gdk-pixbuf, SDL, gtk2 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "green-pdfviewer";
|
||||
version = "nightly-2014-04-22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "schandinat";
|
||||
repo = "green";
|
||||
rev = "0b516aec17915d9742d8e505d2ed383a3bdcea61";
|
||||
sha256 = "0d0lv33flhgsxhc77kfp2avdz5gvml04r8l1j95yjz2rr096lzlj";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ poppler gdk-pixbuf SDL gtk2 ];
|
||||
|
||||
patches = [
|
||||
./gdk-libs.patch
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
make PREFIX=$out
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/man1
|
||||
make install PREFIX=$out MANDIR=$out/share
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/schandinat/green/";
|
||||
description = "Viewer for PDF files, uses SDL and libpoppler";
|
||||
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.vrthra ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue