25 lines
592 B
Nix
25 lines
592 B
Nix
{
|
|
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 = [];
|
|
};
|
|
}
|