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
50 lines
972 B
Nix
50 lines
972 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitea,
|
|
pkg-config,
|
|
pcsclite,
|
|
nix-update-script,
|
|
testers,
|
|
rsop,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rsop";
|
|
version = "0.8.0";
|
|
|
|
src = fetchFromGitea {
|
|
domain = "codeberg.org";
|
|
owner = "heiko";
|
|
repo = "rsop";
|
|
rev = "rsop/v${version}";
|
|
hash = "sha256-bbB2IefXauVV6LjpJxSNy4RVYjAGH0osTpUZGGscGec=";
|
|
};
|
|
|
|
cargoHash = "sha256-P27PnFNArKn3CQtik6TaV7eW/8bQiOZ57ZbMth2pNiY=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ pcsclite ];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
tests.version = testers.testVersion {
|
|
command = "rsop version";
|
|
package = rsop;
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
homepage = "https://codeberg.org/heiko/rsop";
|
|
description = "Stateless OpenPGP (SOP) based on rpgp";
|
|
license = with lib.licenses; [
|
|
mit
|
|
apsl20
|
|
cc0
|
|
];
|
|
maintainers = with lib.maintainers; [ nikstur ];
|
|
mainProgram = "rsop";
|
|
};
|
|
}
|