2009-03-23 20:31:12 +00:00
|
|
|
{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
|
|
|
|
, libxml2, glib}:
|
2009-02-16 14:57:35 +00:00
|
|
|
|
2017-08-01 19:53:10 +01:00
|
|
|
let version = "1.8"; in
|
2009-02-16 14:57:35 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-01 18:55:28 +01:00
|
|
|
name = "shared-mime-info-${version}";
|
2009-02-16 14:57:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-31 22:29:12 +01:00
|
|
|
url = "http://freedesktop.org/~hadess/${name}.tar.xz";
|
2017-08-01 19:53:10 +01:00
|
|
|
sha256 = "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a";
|
2009-02-16 14:57:35 +00:00
|
|
|
};
|
|
|
|
|
2015-10-01 18:55:28 +01:00
|
|
|
nativeBuildInputs = [
|
2009-03-23 20:31:12 +00:00
|
|
|
pkgconfig gettext intltool perl perlXMLParser libxml2 glib
|
|
|
|
];
|
2009-02-16 14:57:35 +00:00
|
|
|
|
|
|
|
meta = {
|
2015-10-01 18:55:28 +01:00
|
|
|
inherit version;
|
2009-02-16 14:57:35 +00:00
|
|
|
description = "A database of common MIME types";
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/shared-mime-info;
|
2015-10-01 18:55:28 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2009-02-16 14:57:35 +00:00
|
|
|
};
|
|
|
|
}
|