1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 08:01:14 +00:00
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 18:55:28 +01:00
let version = "1.5"; 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";
2015-10-01 18:55:28 +01:00
sha256 = "1021x95xbkfc5ipx3gi2rdc0y6x2pv36yyzxc5pg6nr6xd02hhfn";
};
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;
};
}