nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 972 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 nix-update-script, 5 rustPlatform, 6 versionCheckHook, 7}: 8rustPlatform.buildRustPackage (finalAttrs: { 9 pname = "bugstalker"; 10 version = "0.4.1"; 11 12 src = fetchFromGitHub { 13 owner = "godzie44"; 14 repo = "BugStalker"; 15 rev = "v${finalAttrs.version}"; 16 hash = "sha256-9l6IVQBjZkpSS28ai/d27JUPBWj2Q17RVhsFrrI45TM="; 17 }; 18 19 cargoHash = "sha256-+VvKWY9CqUUkDKzG2nLG9ibkE6xwP3StTzlovBZH8O8="; 20 21 # Tests require rustup. 22 doCheck = false; 23 24 nativeInstallCheckHook = [ versionCheckHook ]; 25 doInstallCheck = true; 26 27 passthru.updateScript = nix-update-script { }; 28 29 meta = { 30 description = "Rust debugger for Linux x86-64"; 31 homepage = "https://github.com/godzie44/BugStalker"; 32 changelog = "https://github.com/godzie44/BugStalker/blob/v${finalAttrs.version}/CHANGELOG.md"; 33 license = lib.licenses.mit; 34 maintainers = with lib.maintainers; [ jacg ]; 35 mainProgram = "bs"; 36 platforms = [ "x86_64-linux" ]; 37 }; 38})