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
30
pkgs/applications/graphics/guetzli/default.nix
Normal file
30
pkgs/applications/graphics/guetzli/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib, stdenv, libpng, fetchFromGitHub, pkg-config }:
|
||||
let
|
||||
version = "1.0.1";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "guetzli";
|
||||
inherit version;
|
||||
src = fetchFromGitHub {
|
||||
owner = "google";
|
||||
repo = "guetzli";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wy9wfvyradp0aigfv8yijvj0dgb5kpq2yf2xki15f605jc1r5dm";
|
||||
};
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
install bin/Release/guetzli $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Perceptual JPEG encoder";
|
||||
longDescription = "Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality.";
|
||||
homepage = "https://github.com/google/guetzli";
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.x86_64;
|
||||
maintainers = [ lib.maintainers.seppeljordan ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue