binsider: 0.1.0 -> 0.2.0 (#348196)

This commit is contained in:
Artturin
2024-10-19 05:49:03 +03:00
committed by GitHub

View File

@@ -1,26 +1,38 @@
{
lib,
darwin,
rustPlatform,
fetchFromGitHub,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "binsider";
version = "0.1.0";
version = "0.2.0";
src = fetchFromGitHub {
owner = "orhun";
repo = "binsider";
rev = "v${version}";
hash = "sha256-+QgbSpiDKPTVdSm0teEab1O6OJZKEDpC2ZIZ728e69Y=";
hash = "sha256-VnWLslelEAXuSy7XnxrdgSkXqTrd+Ni7lQFsB2P+ILs=";
};
cargoHash = "sha256-lXYTZ3nvLrfEgo7AY/qSQYpXsyrdJuQQw43xREezNn0=";
cargoHash = "sha256-eBZ7zUOucarzdxTjHecUxGqUsKTQPaaotOfs/v0MxHk=";
# Tests need the executable in target/debug/
preCheck = ''
cargo build
'';
buildNoDefaultFeatures = !stdenv.isLinux;
buildInputs = lib.optionals stdenv.isDarwin (
with darwin.apple_sdk.frameworks;
[
AppKit
CoreServices
]
);
checkType = "debug";
checkFlags = [
"--skip=test_extract_strings"
"--skip=test_init"
];
meta = with lib; {
description = "Analyzer of executables using a terminal user interface";
@@ -31,6 +43,5 @@ rustPlatform.buildRustPackage rec {
];
maintainers = with maintainers; [ samueltardieu ];
mainProgram = "binsider";
broken = stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isAarch64;
};
}