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
29
pkgs/applications/graphics/minidjvu/default.nix
Normal file
29
pkgs/applications/graphics/minidjvu/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, libtiff, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "minidjvu";
|
||||
version = "0.8";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/minidjvu/minidjvu-${version}.tar.gz";
|
||||
sha256 = "0jmpvy4g68k6xgplj9zsl6brg6vi81mx3nx2x9hfbr1f4zh95j79";
|
||||
};
|
||||
|
||||
patchPhase = ''
|
||||
sed -i s,/usr/bin/gzip,gzip, Makefile.in
|
||||
'';
|
||||
|
||||
buildInputs = [ libtiff gettext ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/lib
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "http://djvu.sourceforge.net/djview4.html";
|
||||
description = "Black-and-white djvu page encoder and decoder that use interpage information";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.viric ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue