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