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

24 lines
631 B
Nix
Raw Normal View History

{stdenv, fetchurl, pkgconfig, gettext, perl, perlXMLParser, intltool
, libxml2, glib}:
2015-10-01 19:55:28 +02:00
let version = "1.5"; 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";
2015-10-01 19:55:28 +02:00
sha256 = "1021x95xbkfc5ipx3gi2rdc0y6x2pv36yyzxc5pg6nr6xd02hhfn";
};
2015-10-01 19:55:28 +02:00
nativeBuildInputs = [
pkgconfig gettext intltool perl perlXMLParser libxml2 glib
];
meta = {
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;
2015-10-01 19:55:28 +02:00
license = stdenv.lib.licenses.gpl2Plus;
};
}