1 { lib, stdenv, fetchurl, pkg-config, gdk-pixbuf, popt }:
2 stdenv.mkDerivation rec {
7 url = "https://freedesktop.org/software/icon-slicer/releases/icon-slicer-${version}.tar.gz";
8 sha256 = "0kdnc08k2rs8llfg7xgvnrsk60x59pv5fqz6kn2ifnn2s1nj3w05";
12 # Fixes hotspot `y` coordinate. The `x` coordinate is used on the y-axis.
14 url = "https://aur.archlinux.org/cgit/aur.git/plain/hotspotfix.patch?h=icon-slicer";
15 sha256 = "1l1dc1x5p4hys02arkmq3x6b1xdi510969d25g928zr4gf4an03h";
19 nativeBuildInputs = [ popt pkg-config ];
20 buildInputs = [ gdk-pixbuf ];
23 description = "Utility for generating icon themes and libXcursor cursor themes";
24 homepage = "https://www.freedesktop.org/wiki/Software/icon-slicer/";
25 license = licenses.mit;
26 maintainers = with maintainers; [ zaninime ];
27 platforms = platforms.linux;
28 mainProgram = "icon-slicer";