nixpkgs-suyu/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-08 00:36:19 +01:00
let version = "1.12"; in
stdenv.mkDerivation rec {
2015-10-01 19:55:28 +02:00
name = "shared-mime-info-${version}";
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";
};
nativeBuildInputs = [ pkgconfig gettext intltool ] ++ (with perlPackages; [ perl XMLParser ]);
buildInputs = [ libxml2 glib ];
2017-09-30 19:59:38 +02:00
meta = with stdenv.lib; {
2015-10-01 19:55:28 +02:00
inherit version;
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 ];
};
}