libxdg_basedir: 1.2.0 -> 1.2.3

This commit is contained in:
Nick Cao 2023-06-22 16:35:43 +08:00
parent f1992487d6
commit 4330cec2ee
No known key found for this signature in database

View file

@ -1,26 +1,29 @@
{lib, stdenv, fetchurl, fetchpatch}:
{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
}:
stdenv.mkDerivation rec {
pname = "libxdg-basedir";
version = "1.2.0";
version = "1.2.3";
src = fetchurl {
url = "https://nevill.ch/libxdg-basedir/downloads/libxdg-basedir-${version}.tar.gz";
sha256 = "2757a949618742d80ac59ee2f0d946adc6e71576406cdf798e6ced507708cdf4";
src = fetchFromGitHub {
owner = "devnev";
repo = pname;
rev = "refs/tags/libxdg-basedir-${version}";
hash = "sha256-ewtUKDdE6k9Q9hglWwhbTU3DTxvIN41t+zf2Gch9Dkk=";
};
patches = [
# Overflow bug
(fetchpatch {
url = "https://github.com/devnev/libxdg-basedir/commit/14e000f696ef8b83264b0ca4407669bdb365fb23.patch";
sha256 = "0lpy1ijir0x0hhb0fz0w5vxy1wl1cw9kkd6gva0rkp41i6vrp2wq";
})
nativeBuildInputs = [
autoreconfHook
];
meta = with lib; {
homepage = "https://github.com/devnev/libxdg-basedir";
description = "Implementation of the XDG Base Directory specification";
homepage = "https://github.com/devnev/libxdg-basedir";
license = licenses.mit;
maintainers = with maintainers; [ nickcao ];
platforms = platforms.unix;
};
}