Skip to content

Commit

Permalink
binsider: init at 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Sep 12, 2024
1 parent c810fa5 commit 864ea66
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions pkgs/by-name/bi/binsider/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
lib,
rustPlatform,
fetchFromGitHub,
stdenv,
}:
rustPlatform.buildRustPackage rec {
pname = "binsider";
version = "0.1.0";

src = fetchFromGitHub {
owner = "orhun";
repo = "binsider";
rev = "v${version}";
hash = "sha256-+QgbSpiDKPTVdSm0teEab1O6OJZKEDpC2ZIZ728e69Y=";
};

cargoHash = "sha256-lXYTZ3nvLrfEgo7AY/qSQYpXsyrdJuQQw43xREezNn0=";

# Tests need the executable in target/debug/
preCheck = ''
cargo build
'';

meta = with lib; {
description = "Analyzer of executables using a terminal user interface";
homepage = "https://github.com/orhun/binsider";
license = with licenses; [
asl20 # or
mit
];
maintainers = with maintainers; [ samueltardieu ];
mainProgram = "binsider";
broken = stdenv.isDarwin || stdenv.isAarch64;
};
}

0 comments on commit 864ea66

Please sign in to comment.