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
24
pkgs/tools/graphics/pngtoico/default.nix
Normal file
24
pkgs/tools/graphics/pngtoico/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{ lib, stdenv, fetchurl, libpng }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pngtoico";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/software/graphics/pngtoico/pngtoico-${version}.tar.gz";
|
||||
sha256 = "1xb4aa57sjvgqfp01br3dm72hf7q0gb2ad144s1ifrs09215fgph";
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
sed -i s,/usr/local,$out, Makefile
|
||||
'';
|
||||
|
||||
buildInputs = [ libpng ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.kernel.org/pub/software/graphics/pngtoico/";
|
||||
description = "Small utility to convert a set of PNG images to Microsoft ICO format";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue