2009-03-23 21:31:12 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
|
|
|
|
, libxml2, glib}:
|
2009-02-16 15:57:35 +01:00
|
|
|
|
2017-09-30 19:59:38 +02:00
|
|
|
let version = "1.9"; in
|
2009-02-16 15:57:35 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-01 19:55:28 +02:00
|
|
|
name = "shared-mime-info-${version}";
|
2009-02-16 15:57:35 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-31 23:29:12 +02:00
|
|
|
url = "http://freedesktop.org/~hadess/${name}.tar.xz";
|
2017-09-30 19:59:38 +02:00
|
|
|
sha256 = "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw";
|
2009-02-16 15:57:35 +01:00
|
|
|
};
|
|
|
|
|
2015-10-01 19:55:28 +02:00
|
|
|
nativeBuildInputs = [
|
2009-03-23 21:31:12 +01:00
|
|
|
pkgconfig gettext intltool perl perlXMLParser libxml2 glib
|
|
|
|
];
|
2009-02-16 15:57:35 +01:00
|
|
|
|
2017-09-30 19:59:38 +02:00
|
|
|
meta = with stdenv.lib; {
|
2015-10-01 19:55:28 +02:00
|
|
|
inherit version;
|
2009-02-16 15:57:35 +01:00
|
|
|
description = "A database of common MIME types";
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/shared-mime-info;
|
2017-09-30 19:59:38 +02:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.mimadrid ];
|
2009-02-16 15:57:35 +01:00
|
|
|
};
|
|
|
|
}
|