dragnpkgs/pkgs/rust/rbasefind/default.nix

25 lines
592 B
Nix
Raw Normal View History

2024-11-11 20:23:07 +00:00
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "rbasefind";
version = "0.1.3";
src = fetchFromGitHub {
owner = "sgayou";
repo = pname;
rev = "v${version}";
hash = "sha256-2eheLrnf9YWVHBGMNvmCoSclis6ThxE2ImLTZqYv8hg=";
};
cargoPatches = [ ./0001-Add-Cargo.lock.patch ];
cargoHash = "sha256-H8bsnJ5nDTr2fnviXoamaXOTRQiimVOKcHFHt5/RJJU=";
meta = {
description = "A firmware base address search tool";
homepage = "https://github.com/sgayou/rbasefind";
license = lib.licenses.mit;
maintainers = [];
};
}