2014-01-09 13:07:34 +00:00
|
|
|
{stdenv, fetchurl, perl, XMLSimple, 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-22 23:04:18 +00: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
|
|
|
};
|
2009-04-23 11:59:43 +00:00
|
|
|
|
2014-01-09 13:07:34 +00:00
|
|
|
buildInputs = [perl XMLSimple librsvg];
|
2009-04-22 23:04:18 +00:00
|
|
|
|
2009-11-04 21:44:01 +00:00
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
# Add XML::Simple to the runtime search path.
|
|
|
|
substituteInPlace $out/libexec/icon-name-mapping \
|
|
|
|
--replace '/bin/perl' '/bin/perl -I${XMLSimple}/lib/perl5/site_perl'
|
|
|
|
'';
|
|
|
|
|
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 21:43:03 +00:00
|
|
|
platforms = with platforms; linux ++ darwin;
|
2009-11-04 21:44:01 +00:00
|
|
|
};
|
2007-03-05 18:52:31 +00:00
|
|
|
}
|