nixpkgs/pkgs/development/tools/misc/icon-naming-utils/default.nix
Eelco Dolstra ac4d183051 * Added gnome-icon-theme.
svn path=/nixpkgs/branches/xorg-7.5/; revision=18118
2009-11-04 21:44:01 +00:00

24 lines
617 B
Nix

{stdenv, fetchurl, perl, XMLSimple}:
stdenv.mkDerivation rec {
name = "icon-naming-utils-0.8.90";
src = fetchurl {
url = "http://tango.freedesktop.org/releases/${name}.tar.gz";
sha256 = "071fj2jm5kydlz02ic5sylhmw6h2p3cgrm3gwdfabinqkqcv4jh4";
};
buildInputs = [perl XMLSimple];
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;
};
}