2018-10-13 00:56:15 +02:00
|
|
|
{stdenv, fetchurl, pkgconfig, gettext, perlPackages, intltool
|
2009-03-23 21:31:12 +01:00
|
|
|
, libxml2, glib}:
|
2009-02-16 15:57:35 +01:00
|
|
|
|
2019-03-08 00:36:19 +01:00
|
|
|
let version = "1.12"; 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 {
|
2019-03-08 00:36:19 +01:00
|
|
|
url = "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/80c7f1afbcad2769f38aeb9ba6317a51/shared-mime-info-1.12.tar.xz";
|
|
|
|
sha256 = "0gj0pp36qpsr9w6v4nywnjpcisadwkndapqsjn0ny3gd0zzg1chq";
|
2009-02-16 15:57:35 +01:00
|
|
|
};
|
|
|
|
|
2018-10-14 23:57:01 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig gettext intltool ] ++ (with perlPackages; [ perl XMLParser ]);
|
|
|
|
buildInputs = [ 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
|
|
|
};
|
|
|
|
}
|