3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/misc/shared-mime-info/default.nix

25 lines
822 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, gettext, perlPackages, intltool
, libxml2, glib}:
2019-03-07 23:36:19 +00:00
let version = "1.12"; in
stdenv.mkDerivation rec {
2015-10-01 18:55:28 +01:00
name = "shared-mime-info-${version}";
src = fetchurl {
2019-03-07 23:36:19 +00:00
url = "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/80c7f1afbcad2769f38aeb9ba6317a51/shared-mime-info-1.12.tar.xz";
sha256 = "0gj0pp36qpsr9w6v4nywnjpcisadwkndapqsjn0ny3gd0zzg1chq";
};
nativeBuildInputs = [ pkgconfig gettext intltool ] ++ (with perlPackages; [ perl XMLParser ]);
buildInputs = [ libxml2 glib ];
2017-09-30 18:59:38 +01:00
meta = with stdenv.lib; {
2015-10-01 18:55:28 +01:00
inherit version;
description = "A database of common MIME types";
homepage = http://freedesktop.org/wiki/Software/shared-mime-info;
2017-09-30 18:59:38 +01:00
license = licenses.gpl2Plus;
platforms = platforms.unix;
maintainers = [ maintainers.mimadrid ];
};
}