nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchCrate,
5}:
6
7rustPlatform.buildRustPackage rec {
8 pname = "rsign2";
9 version = "0.6.3";
10
11 src = fetchCrate {
12 inherit pname version;
13 hash = "sha256-bJeM1HTzmC8QZ488PpqQ0qqdFg1/rjPWuTtqo1GXyHM=";
14 };
15
16 cargoHash = "sha256-dCZcxtaqcRHhAmgGigBjN0jDfh1VjoosqTDTkqwlXp0=";
17
18 meta = with lib; {
19 description = "Command-line tool to sign files and verify signatures";
20 homepage = "https://github.com/jedisct1/rsign2";
21 license = licenses.mit;
22 maintainers = with maintainers; [ figsoda ];
23 mainProgram = "rsign";
24 };
25}