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/tools/X11/icon-slicer/default.nix
Normal file
29
pkgs/tools/X11/icon-slicer/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, gdk-pixbuf, popt }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "icon-slicer";
|
||||
version = "0.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://freedesktop.org/software/icon-slicer/releases/icon-slicer-${version}.tar.gz";
|
||||
sha256 = "0kdnc08k2rs8llfg7xgvnrsk60x59pv5fqz6kn2ifnn2s1nj3w05";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fixes hotspot `y` coordinate. The `x` coordinate is used on the y-axis.
|
||||
(fetchurl {
|
||||
url = "https://aur.archlinux.org/cgit/aur.git/plain/hotspotfix.patch?h=icon-slicer";
|
||||
sha256 = "1l1dc1x5p4hys02arkmq3x6b1xdi510969d25g928zr4gf4an03h";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ popt pkg-config ];
|
||||
buildInputs = [ gdk-pixbuf ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Utility for generating icon themes and libXcursor cursor themes";
|
||||
homepage = "https://www.freedesktop.org/wiki/Software/icon-slicer/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ zaninime ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue