10 rustPlatform.buildRustPackage rec {
11 pname = "cargo-guppy";
12 version = "unstable-2023-10-04";
14 src = fetchFromGitHub {
17 rev = "837d0ae762b9ae79cc8ca5d629842e5ca34293b4";
18 sha256 = "sha256-LWU1yAD/f9w5m522vcKP9D2JusGkwzvfGSGstvFGUpk=";
21 cargoSha256 = "sha256-IyU5fJSFzef8P5v8ILufGcTP3+5Gm0PH4Cox2G5saHw=";
23 nativeBuildInputs = [ pkg-config ];
25 buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [
26 darwin.apple_sdk.frameworks.Security
29 cargoBuildFlags = [ "-p" "cargo-guppy" ];
30 cargoTestFlags = [ "-p" "cargo-guppy" ];
33 description = "A command-line frontend for guppy";
34 mainProgram = "cargo-guppy";
35 homepage = "https://github.com/guppy-rs/guppy/tree/main/cargo-guppy";
36 license = with licenses; [ mit /* or */ asl20 ];
37 maintainers = with maintainers; [ figsoda ];