rsop: init at 0.3.9 (#344650)
This commit is contained in:
commit
e3b7ada410
49
pkgs/by-name/rs/rsop/package.nix
Normal file
49
pkgs/by-name/rs/rsop/package.nix
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitea,
|
||||
pkg-config,
|
||||
pcsclite,
|
||||
nix-update-script,
|
||||
testers,
|
||||
rsop,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "rsop";
|
||||
version = "0.3.9";
|
||||
|
||||
src = fetchFromGitea {
|
||||
domain = "codeberg.org";
|
||||
owner = "heiko";
|
||||
repo = "rsop";
|
||||
rev = "rsop/v${version}";
|
||||
hash = "sha256-K69vyZFaVvZj4yLaV/zQYoItvcTDuFR4mdmMcfl1UDA=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-DJVgnfPpXf8hGX6Dv6W8GzqspMEFZHc2/Fkn1MZRXd0=";
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user