nixpkgs-suyu/pkgs/data/misc/shared-mime-info/default.nix

26 lines
713 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
, libxml2, glib}:
2017-09-30 19:59:38 +02:00
let version = "1.9"; in
stdenv.mkDerivation rec {
2015-10-01 19:55:28 +02:00
name = "shared-mime-info-${version}";
src = fetchurl {
url = "http://freedesktop.org/~hadess/${name}.tar.xz";
2017-09-30 19:59:38 +02:00
sha256 = "10ywzhzg8v1xmb9sz5xbqaci90id38knswigynyl33i29vn360aw";
};
2015-10-01 19:55:28 +02:00
nativeBuildInputs = [
pkgconfig gettext intltool perl perlXMLParser 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 ];
};
}