nixpkgs/pkgs/data/misc/shared-mime-info/default.nix
R. RyanTM 271e4780cf shared-mime-info: 1.9 -> 1.10 (#42948)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/shared-mime-info/versions.

These checks were done:

- built on NixOS
- /nix/store/3lvy4cp08h73b9cb5sw8nl5n3nxlahry-shared-mime-info-1.10/bin/update-mime-database passed the binary check.
- 1 of 1 passed binary check by having a zero exit code.
- 0 of 1 passed binary check by having the new version present in output.
- found 1.10 with grep in /nix/store/3lvy4cp08h73b9cb5sw8nl5n3nxlahry-shared-mime-info-1.10
- directory tree listing: https://gist.github.com/f14528d0cfdffdfd9120e68517e35c73
- du listing: https://gist.github.com/aeb5692bf3cce624ed41c38c8735082f
2018-07-09 22:29:38 +02:00

26 lines
714 B
Nix

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