2009-04-20 14:49:35 +02:00
|
|
|
{stdenv, fetchurl, perl, XMLSimple}:
|
2007-03-05 19:52:31 +01:00
|
|
|
|
2009-11-04 22:44:01 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "icon-naming-utils-0.8.90";
|
2009-04-23 01:04:18 +02:00
|
|
|
|
2007-03-05 19:52:31 +01:00
|
|
|
src = fetchurl {
|
2009-11-04 22:44:01 +01:00
|
|
|
url = "http://tango.freedesktop.org/releases/${name}.tar.gz";
|
|
|
|
sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4";
|
2007-03-05 19:52:31 +01:00
|
|
|
};
|
2009-04-23 13:59:43 +02:00
|
|
|
|
2009-04-20 14:49:35 +02:00
|
|
|
buildInputs = [perl XMLSimple];
|
2009-04-23 01:04:18 +02:00
|
|
|
|
2009-11-04 22:44:01 +01: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'
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://tango.freedesktop.org/Standard_Icon_Naming_Specification;
|
|
|
|
};
|
2007-03-05 19:52:31 +01:00
|
|
|
}
|