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

25 lines
674 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
, libxml2, glib}:
2017-08-01 19:53:10 +01:00
let version = "1.8"; in
stdenv.mkDerivation rec {
2015-10-01 18:55:28 +01:00
name = "shared-mime-info-${version}";
src = fetchurl {
url = "http://freedesktop.org/~hadess/${name}.tar.xz";
2017-08-01 19:53:10 +01:00
sha256 = "1sc96lv9dp1lkvs8dh3ngm3hbjb274d363dl9avhb61il3qmxx9a";
};
2015-10-01 18:55:28 +01:00
nativeBuildInputs = [
pkgconfig gettext intltool perl perlXMLParser libxml2 glib
];
meta = {
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;
2015-10-01 18:55:28 +01:00
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.unix;
};
}