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
7
pkgs/development/libraries/libdwarf/0.4.nix
Normal file
7
pkgs/development/libraries/libdwarf/0.4.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ callPackage, zlib }:
|
||||
callPackage ./common.nix rec {
|
||||
version = "0.4.0";
|
||||
url = "https://www.prevanders.net/libdwarf-${version}.tar.xz";
|
||||
sha512 = "30e5c6c1fc95aa28a014007a45199160e1d9ba870b196d6f98e6dd21a349e9bb31bba1bd6817f8ef9a89303bed0562182a7d46fcbb36aedded76c2f1e0052e1e";
|
||||
buildInputs = [ zlib ];
|
||||
}
|
||||
23
pkgs/development/libraries/libdwarf/common.nix
Normal file
23
pkgs/development/libraries/libdwarf/common.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchurl, buildInputs, sha512, version, libelf, url }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libdwarf";
|
||||
inherit version;
|
||||
|
||||
src = fetchurl {
|
||||
inherit url sha512;
|
||||
};
|
||||
|
||||
configureFlags = [ "--enable-shared" "--disable-nonshared" ];
|
||||
|
||||
inherit buildInputs;
|
||||
|
||||
outputs = [ "bin" "lib" "dev" "out" ];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/davea42/libdwarf-code";
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ lib.maintainers.atry ];
|
||||
};
|
||||
}
|
||||
7
pkgs/development/libraries/libdwarf/default.nix
Normal file
7
pkgs/development/libraries/libdwarf/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ callPackage, zlib, libelf }:
|
||||
callPackage ./common.nix rec {
|
||||
version = "20210528";
|
||||
url = "https://www.prevanders.net/libdwarf-${version}.tar.gz";
|
||||
sha512 = "e0f9c88554053ee6c1b1333960891189e7820c4a4ddc302b7e63754a4cdcfc2acb1b4b6083a722d1204a75e994fff3401ecc251b8c3b24090f8cb4046d90f870";
|
||||
buildInputs = [ zlib libelf ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue