uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
26
pkgs/development/libraries/libxdg-basedir/default.nix
Normal file
26
pkgs/development/libraries/libxdg-basedir/default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{lib, stdenv, fetchurl, fetchpatch}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libxdg-basedir";
|
||||
version = "1.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://nevill.ch/libxdg-basedir/downloads/libxdg-basedir-${version}.tar.gz";
|
||||
sha256 = "2757a949618742d80ac59ee2f0d946adc6e71576406cdf798e6ced507708cdf4";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Overflow bug
|
||||
(fetchpatch {
|
||||
url = "https://github.com/devnev/libxdg-basedir/commit/14e000f696ef8b83264b0ca4407669bdb365fb23.patch";
|
||||
sha256 = "0lpy1ijir0x0hhb0fz0w5vxy1wl1cw9kkd6gva0rkp41i6vrp2wq";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/devnev/libxdg-basedir";
|
||||
description = "Implementation of the XDG Base Directory specification";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue