Skip to content

Commit

Permalink
rsop: init at 0.3.9 (#344650)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikstur authored Oct 26, 2024
2 parents 37ec559 + 59ab5b9 commit e3b7ada
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions pkgs/by-name/rs/rsop/package.nix
Original file line number Diff line number Diff line change
@@ -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";
};
}

0 comments on commit e3b7ada

Please sign in to comment.