mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Merge pull request #68732 from dtzWill/update/shared-mime-info-1.13.1
shared-mime-info: 1.12 -> 1.13.1
This commit is contained in:
commit
3b48814e8d
@ -1,21 +1,36 @@
|
||||
{stdenv, fetchurl, pkgconfig, gettext, perlPackages, intltool
|
||||
, libxml2, glib}:
|
||||
{ stdenv
|
||||
, fetchurl
|
||||
, pkgconfig
|
||||
, gettext
|
||||
, perlPackages
|
||||
, itstool
|
||||
, libxml2
|
||||
, glib
|
||||
}:
|
||||
|
||||
let version = "1.12"; in
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "shared-mime-info";
|
||||
inherit version;
|
||||
version = "1.13.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/80c7f1afbcad2769f38aeb9ba6317a51/shared-mime-info-1.12.tar.xz";
|
||||
sha256 = "0gj0pp36qpsr9w6v4nywnjpcisadwkndapqsjn0ny3gd0zzg1chq";
|
||||
url = "https://gitlab.freedesktop.org/xdg/${pname}/uploads/5349e18c86eb96eee258a5c1f19122d0/${pname}-${version}.tar.xz";
|
||||
sha256 = "1bic8z5nz08qxv1x6zlxnx2j4cmlzm12kygrn3rrh1djqxdhma3f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig gettext intltool ] ++ (with perlPackages; [ perl XMLParser ]);
|
||||
buildInputs = [ libxml2 glib ];
|
||||
nativeBuildInputs = [
|
||||
pkgconfig
|
||||
gettext
|
||||
itstool
|
||||
] ++ (with perlPackages; [
|
||||
perl XMLParser
|
||||
]);
|
||||
|
||||
buildInputs = [
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user