rosenpass: clean up & add updateScript and NGI team (#422642)
This commit is contained in:
@@ -8,15 +8,16 @@
|
||||
cmake,
|
||||
libsodium,
|
||||
pkg-config,
|
||||
nix-update-script,
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
pname = "rosenpass";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
owner = "rosenpass";
|
||||
repo = "rosenpass";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-fQIeKGyTkFWUV9M1o256G4U1Os5OlVsRZu+5olEkbD4=";
|
||||
};
|
||||
|
||||
@@ -42,16 +43,20 @@ rustPlatform.buildRustPackage rec {
|
||||
installManPage doc/rosenpass.1
|
||||
'';
|
||||
|
||||
passthru.tests.rosenpass = nixosTests.rosenpass;
|
||||
passthru = {
|
||||
tests = { inherit (nixosTests) rosenpass; };
|
||||
updateScript = nix-update-script { };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "Build post-quantum-secure VPNs with WireGuard";
|
||||
homepage = "https://rosenpass.eu/";
|
||||
license = with licenses; [
|
||||
license = with lib.licenses; [
|
||||
mit # or
|
||||
asl20
|
||||
];
|
||||
maintainers = with maintainers; [ wucke13 ];
|
||||
maintainers = with lib.maintainers; [ wucke13 ];
|
||||
teams = with lib.teams; [ ngi ];
|
||||
platforms = [
|
||||
"aarch64-darwin"
|
||||
"aarch64-linux"
|
||||
@@ -60,4 +65,4 @@ rustPlatform.buildRustPackage rec {
|
||||
];
|
||||
mainProgram = "rosenpass";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user