File tree Expand file tree Collapse file tree 1 file changed +49
-0
lines changed
Expand file tree Collapse file tree 1 file changed +49
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ rustPlatform ,
4+ fetchFromGitea ,
5+ pkg-config ,
6+ pcsclite ,
7+ nix-update-script ,
8+ testers ,
9+ rsop ,
10+ } :
11+
12+ rustPlatform . buildRustPackage rec {
13+ pname = "rsop" ;
14+ version = "0.3.9" ;
15+
16+ src = fetchFromGitea {
17+ domain = "codeberg.org" ;
18+ owner = "heiko" ;
19+ repo = "rsop" ;
20+ rev = "rsop/v${ version } " ;
21+ hash = "sha256-K69vyZFaVvZj4yLaV/zQYoItvcTDuFR4mdmMcfl1UDA=" ;
22+ } ;
23+
24+ cargoHash = "sha256-DJVgnfPpXf8hGX6Dv6W8GzqspMEFZHc2/Fkn1MZRXd0=" ;
25+
26+ nativeBuildInputs = [ pkg-config ] ;
27+
28+ buildInputs = [ pcsclite ] ;
29+
30+ passthru = {
31+ updateScript = nix-update-script { } ;
32+ tests . version = testers . testVersion {
33+ command = "rsop version" ;
34+ package = rsop ;
35+ } ;
36+ } ;
37+
38+ meta = {
39+ homepage = "https://codeberg.org/heiko/rsop" ;
40+ description = "Stateless OpenPGP (SOP) based on rpgp" ;
41+ license = with lib . licenses ; [
42+ mit
43+ apsl20
44+ cc0
45+ ] ;
46+ maintainers = with lib . maintainers ; [ nikstur ] ;
47+ mainProgram = "rsop" ;
48+ } ;
49+ }
You can’t perform that action at this time.
0 commit comments