Files
nixpkgs/pkgs/by-name/ca/cargo-guppy/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
913 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage {
pname = "cargo-guppy";
version = "unstable-2023-10-04";
src = fetchFromGitHub {
owner = "guppy-rs";
repo = "guppy";
rev = "837d0ae762b9ae79cc8ca5d629842e5ca34293b4";
sha256 = "sha256-LWU1yAD/f9w5m522vcKP9D2JusGkwzvfGSGstvFGUpk=";
};
cargoHash = "sha256-nNbCQ/++gm2S+xFbE5t9U9gQR8E2fVWE4kh73wgbAwQ=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
cargoBuildFlags = [
"-p"
"cargo-guppy"
];
cargoTestFlags = [
"-p"
"cargo-guppy"
];
meta = with lib; {
description = "Command-line frontend for guppy";
mainProgram = "cargo-guppy";
homepage = "https://github.com/guppy-rs/guppy/tree/main/cargo-guppy";
license = with licenses; [
mit # or
asl20
];
maintainers = with maintainers; [ figsoda ];
};
}