2015-02-07 06:30:05 +00:00
|
|
|
{ stdenv, fetchgit, file, libxslt, docbook_xml_dtd_412, docbook_xsl, xmlto, w3m }:
|
2010-03-25 19:48:06 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-02-07 06:30:05 +00:00
|
|
|
name = "xdg-utils-1.1.0-rc3p7";
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2015-02-07 06:30:05 +00:00
|
|
|
src = fetchgit {
|
2015-04-06 08:15:47 +00:00
|
|
|
url = "http://anongit.freedesktop.org/git/xdg/xdg-utils.git";
|
2015-02-07 06:30:05 +00:00
|
|
|
rev = "e8ee3b18d16e41b95148111b920a0c8beed3ac6c";
|
|
|
|
sha256 = "0qy9h7vh6sw7wmadjvasw4sdhb9fvv7bn32ifgasdx7ag3r3939w";
|
2010-03-25 19:48:06 +00:00
|
|
|
};
|
2012-10-04 11:38:26 +00:00
|
|
|
|
2015-02-07 06:30:05 +00:00
|
|
|
# just needed when built from git
|
|
|
|
buildInputs = [ libxslt docbook_xml_dtd_412 docbook_xsl xmlto w3m ];
|
2015-01-25 13:30:27 +00:00
|
|
|
|
2012-10-04 11:38:26 +00:00
|
|
|
postInstall = ''
|
|
|
|
substituteInPlace $out/bin/xdg-mime --replace /usr/bin/file ${file}/bin/file
|
|
|
|
'';
|
2014-11-06 00:44:33 +00:00
|
|
|
|
2010-03-25 19:48:06 +00: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 00:44:33 +00:00
|
|
|
license = stdenv.lib.licenses.free;
|
2010-03-25 19:48:06 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|
2015-02-07 06:30:05 +00:00
|
|
|
|