2012-10-04 13:38:26 +02:00
|
|
|
{ stdenv, fetchurl, file }:
|
2010-03-25 20:48:06 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-07-04 23:36:29 +02:00
|
|
|
name = "xdg-utils-1.1.0-rc1";
|
2014-11-06 01:44:33 +01:00
|
|
|
|
2010-03-25 20:48:06 +01:00
|
|
|
src = fetchurl {
|
2013-07-04 23:36:29 +02:00
|
|
|
url = "http://portland.freedesktop.org/download/${name}.tar.gz";
|
|
|
|
sha256 = "00lisw4x43sp189lb7dz46j2l09y5v2fijk3d0sxx3mvwj55a1bv";
|
2010-03-25 20:48:06 +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;
|
|
|
|
};
|
|
|
|
}
|