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
52
pkgs/development/tools/dump_syms/default.nix
Normal file
52
pkgs/development/tools/dump_syms/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, rustPlatform
|
||||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, openssl
|
||||
|
||||
# darwin
|
||||
, Security
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "dump_syms";
|
||||
version = "1.0.1";
|
||||
in
|
||||
rustPlatform.buildRustPackage {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mozilla";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-2OSni0PA0LfamOqdFQTRLgolF55z13owgFrqYYHuNX0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-ggJWweulbSJ8Femzv7uHLcrn1HTenw79AYIydE6y4ag=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
] ++ lib.optionals (stdenv.isDarwin) [
|
||||
Security
|
||||
];
|
||||
|
||||
checkFlags = [
|
||||
# Disable tests that require network access
|
||||
# ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Temporary failure in name resolution" })) }', src/windows/pdb.rs:725:56
|
||||
"--skip windows::pdb::tests::test_ntdll"
|
||||
"--skip windows::pdb::tests::test_oleaut32"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/mozilla/dump_syms/releases/tag/v${version}";
|
||||
description = "Command-line utility for parsing the debugging information the compiler provides in ELF or stand-alone PDB files";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://github.com/mozilla/dump_syms/";
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue