lol
1{stdenv, fetchurl, perl, XMLSimple, librsvg}:
2
3stdenv.mkDerivation rec {
4 name = "icon-naming-utils-0.8.90";
5
6 src = fetchurl {
7 url = "http://tango.freedesktop.org/releases/${name}.tar.gz";
8 sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4";
9 };
10
11 buildInputs = [perl XMLSimple librsvg];
12
13 postInstall =
14 ''
15 # Add XML::Simple to the runtime search path.
16 substituteInPlace $out/libexec/icon-name-mapping \
17 --replace '/bin/perl' '/bin/perl -I${XMLSimple}/lib/perl5/site_perl'
18 '';
19
20 meta = with stdenv.lib; {
21 homepage = http://tango.freedesktop.org/Standard_Icon_Naming_Specification;
22 platforms = platforms.linux;
23 };
24}