7 pname = "cargo-profiler";
10 # Version-specific variables
12 rev = "0a8ab772fd5c0f1579e4847c5d05aa443ffa2bc8";
13 hash = "sha256-ZRAbvSMrPtgaWy9RwlykQ3iiPxHCMh/tS5p67/4XqqA=";
14 cargoHash = "sha256-qt3S6ZcLEP9ZQoP5+kSQdmBlxdMgGUqLszdU7JkFNVI=";
16 inherit (rustPlatform) buildRustPackage;
17 in buildRustPackage rec {
18 inherit pname version;
20 src = fetchFromGitHub {
21 inherit owner rev hash;
28 description = "Cargo subcommand for profiling Rust binaries";
29 mainProgram = "cargo-profiler";
30 homepage = "https://github.com/svenstaro/cargo-profiler";
31 license = licenses.mit;
32 maintainers = with maintainers; [ lucperkins ];