Files
nixpkgs/pkgs/by-name/oo/oo7/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

49 lines
1.1 KiB
Nix

{
fetchFromGitHub,
lib,
nix-update-script,
oo7,
pkg-config,
rustPlatform,
testers,
}:
rustPlatform.buildRustPackage rec {
pname = "oo7";
version = "0.5.0";
src = fetchFromGitHub {
owner = "bilelmoussaoui";
repo = "oo7";
rev = version;
hash = "sha256-FIHXjbxAqEH3ekTNL0/TBFZoeDYZ84W2+UeJDxcauk8=";
};
# TODO: this won't cover tests from the client crate
# Additionally cargo-credential will also not be built here
buildAndTestSubdir = "cli";
cargoHash = "sha256-4ibhHCRBsEcwG5+6Gf/uuswA/k9zJLj+RcMdmBcmvD4=";
nativeBuildInputs = [ pkg-config ];
passthru = {
tests.testVersion = testers.testVersion { package = oo7; };
updateScript = nix-update-script { };
};
meta = with lib; {
description = "James Bond went on a new mission as a Secret Service provider";
homepage = "https://github.com/bilelmoussaoui/oo7";
changelog = "https://github.com/bilelmoussaoui/oo7/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [
getchoo
Scrumplex
];
platforms = platforms.linux;
mainProgram = "oo7-cli";
};
}