Merge pull request #29965 from mimadrid/update/shared-mime-info-1.9

shared-mime-info: 1.8 -> 1.9
This commit is contained in:
Orivej Desh 2017-09-30 18:30:39 +00:00 committed by GitHub
commit 62e6137261

View File

@ -1,24 +1,25 @@
{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool {stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
, libxml2, glib}: , libxml2, glib}:
let version = "1.8"; in let version = "1.9"; in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "shared-mime-info-${version}"; name = "shared-mime-info-${version}";
src = fetchurl { src = fetchurl {
url = "http://freedesktop.org/~hadess/${name}.tar.xz"; url = "http://freedesktop.org/~hadess/${name}.tar.xz";
sha256 = "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a"; sha256 = "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig gettext intltool perl perlXMLParser libxml2 glib pkgconfig gettext intltool perl perlXMLParser libxml2 glib
]; ];
meta = { meta = with stdenv.lib; {
inherit version; inherit version;
description = "A database of common MIME types"; description = "A database of common MIME types";
homepage = http://freedesktop.org/wiki/Software/shared-mime-info; homepage = http://freedesktop.org/wiki/Software/shared-mime-info;
license = stdenv.lib.licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix; platforms = platforms.unix;
maintainers = [ maintainers.mimadrid ];
}; };
} }