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
32
pkgs/data/icons/tango-icon-theme/default.nix
Normal file
32
pkgs/data/icons/tango-icon-theme/default.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ lib, stdenv, fetchurl, intltool, pkg-config, iconnamingutils, imagemagick, librsvg
|
||||
, gtk/*any version*/, gnome-icon-theme, hicolor-icon-theme
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tango-icon-theme";
|
||||
version = "0.8.90";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tango.freedesktop.org/releases/tango-icon-theme-${version}.tar.gz";
|
||||
sha256 = "13n8cpml71w6zfm2jz5fa7r1z18qlzk4gv07r6n1in2p5l1xi63f";
|
||||
};
|
||||
|
||||
patches = [ ./rsvg-convert.patch ];
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ intltool iconnamingutils imagemagick librsvg ];
|
||||
propagatedBuildInputs = [ gnome-icon-theme hicolor-icon-theme ];
|
||||
# still missing parent icon themes: cristalsvg
|
||||
|
||||
dontDropIconThemeCache = true;
|
||||
|
||||
configureFlags = [ "--enable-png-creation" ];
|
||||
|
||||
postInstall = '''${gtk.out}/bin/gtk-update-icon-cache' "$out/share/icons/Tango" '';
|
||||
|
||||
meta = {
|
||||
description = "A basic set of icons";
|
||||
homepage = "http://tango.freedesktop.org/Tango_Icon_Library";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue