2018-12-15 03:50:31 +00:00
|
|
|
{stdenv, fetchurl, perlPackages, librsvg}:
|
2007-03-05 18:52:31 +00:00
|
|
|
|
2009-11-04 21:44:01 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "icon-naming-utils-0.8.90";
|
2009-04-23 00:04:18 +01:00
|
|
|
|
2007-03-05 18:52:31 +00:00
|
|
|
src = fetchurl {
|
2009-11-04 21:44:01 +00:00
|
|
|
url = "http://tango.freedesktop.org/releases/${name}.tar.gz";
|
|
|
|
sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4";
|
2007-03-05 18:52:31 +00:00
|
|
|
};
|
2018-11-08 19:33:03 +00:00
|
|
|
|
2018-12-15 03:50:31 +00:00
|
|
|
buildInputs = [ librsvg ] ++ (with perlPackages; [ perl XMLSimple ]);
|
2009-04-23 00:04:18 +01:00
|
|
|
|
2009-11-04 21:44:01 +00:00
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
# Add XML::Simple to the runtime search path.
|
|
|
|
substituteInPlace $out/libexec/icon-name-mapping \
|
2018-12-15 03:50:31 +00:00
|
|
|
--replace '/bin/perl' '/bin/perl -I${perlPackages.XMLSimple}/${perlPackages.perl.libPrefix}'
|
2009-11-04 21:44:01 +00:00
|
|
|
'';
|
|
|
|
|
2014-01-09 13:07:34 +00:00
|
|
|
meta = with stdenv.lib; {
|
2009-11-04 21:44:01 +00:00
|
|
|
homepage = http://tango.freedesktop.org/Standard_Icon_Naming_Specification;
|
2017-04-17 22:43:03 +01:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2018-11-08 19:33:03 +00:00
|
|
|
license = licenses.gpl2;
|
2009-11-04 21:44:01 +00:00
|
|
|
};
|
2007-03-05 18:52:31 +00:00
|
|
|
}
|