Merge pull request #30104 from dtzWill/update/libxdg-basedir
libxdg-basedir: 1.0.2 -> 1.2.0
This commit is contained in:
commit
0471b1d2e1
@ -1,16 +1,24 @@
|
||||
{stdenv, fetchurl}:
|
||||
{stdenv, fetchurl, fetchpatch}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libxdg-basedir-1.0.2";
|
||||
name = "libxdg-basedir-1.2.0";
|
||||
src = fetchurl {
|
||||
url = "http://n.ethz.ch/student/nevillm/download/libxdg-basedir/${name}.tar.gz";
|
||||
sha256 = "0fibbzba228gdk05lfi8cgfrsp80a2gnjbwka0pzpkig0fz8pp9i";
|
||||
url = "https://nevill.ch/libxdg-basedir/downloads/${name}.tar.gz";
|
||||
sha256 = "2757a949618742d80ac59ee2f0d946adc6e71576406cdf798e6ced507708cdf4";
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = http://n.ethz.ch/student/nevillm/download/libxdg-basedir/;
|
||||
patches = [
|
||||
# Overflow bug
|
||||
(fetchpatch {
|
||||
url = "https://github.com/devnev/libxdg-basedir/commit/14e000f696ef8b83264b0ca4407669bdb365fb23.patch";
|
||||
sha256 = "0lpy1ijir0x0hhb0fz0w5vxy1wl1cw9kkd6gva0rkp41i6vrp2wq";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/devnev/libxdg-basedir;
|
||||
description = "Implementation of the XDG Base Directory specification";
|
||||
license = "BSD";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user