2015-02-07 07:30:05 +01:00
|
|
|
{ stdenv, fetchgit, file, libxslt, docbook_xml_dtd_412, docbook_xsl, xmlto, w3m }:
|
2010-03-25 20:48:06 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-07 07:30:05 +01:00
|
|
|
name = "xdg-utils-1.1.0-rc3p7";
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2015-02-07 07:30:05 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "git://anongit.freedesktop.org/xdg/xdg-utils";
|
|
|
|
rev = "e8ee3b18d16e41b95148111b920a0c8beed3ac6c";
|
|
|
|
sha256 = "0qy9h7vh6sw7wmadjvasw4sdhb9fvv7bn32ifgasdx7ag3r3939w";
|
2010-03-25 20:48:06 +01:00
|
|
|
};
|
2012-10-04 13:38:26 +02:00
|
|
|
|
2015-02-07 07:30:05 +01:00
|
|
|
# just needed when built from git
|
|
|
|
buildInputs = [ libxslt docbook_xml_dtd_412 docbook_xsl xmlto w3m ];
|
2015-01-25 14:30:27 +01:00
|
|
|
|
2012-10-04 13:38:26 +02:00
|
|
|
postInstall = ''
|
|
|
|
substituteInPlace $out/bin/xdg-mime --replace /usr/bin/file ${file}/bin/file
|
|
|
|
'';
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2010-03-25 20:48:06 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://portland.freedesktop.org/wiki/;
|
|
|
|
description = "A set of command line tools that assist applications with a variety of desktop integration tasks";
|
2014-11-06 01:44:33 +01:00
|
|
|
license = stdenv.lib.licenses.free;
|
2010-03-25 20:48:06 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
2015-02-07 07:30:05 +01:00
|
|
|
|