depot/pkgs/by-name/bu/bugstalker/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

36 lines
778 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, libunwind
}:
rustPlatform.buildRustPackage rec {
pname = "bugstalker";
version = "0.2.2";
src = fetchFromGitHub {
owner = "godzie44";
repo = "BugStalker";
rev = "v${version}";
hash = "sha256-JacRt+zNwL7hdpdh5h9Mxztqi47f5eUbcZyx6ct/5Bc=";
};
cargoHash = "sha256-ljT7Dl9553sfZBqTe6gT3iYPH+D1Jp9ZsyGVQGOekxw=";
buildInputs = [ libunwind ];
nativeBuildInputs = [ pkg-config ];
# Tests require rustup.
doCheck = false;
meta = {
description = "Rust debugger for Linux x86-64";
homepage = "https://github.com/godzie44/BugStalker";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jacg ];
mainProgram = "bs";
platforms = [ "x86_64-linux" ];
};
}