diff options
author | lassulus <github@lassul.us> | 2024-03-27 10:15:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-27 10:15:37 +0100 |
commit | e91a1ad1e3da10e379c2f101c9cc39ac3bfaeb8f (patch) | |
tree | 2aa080c02767d31ec5618b2456967d325d195ef4 /pkgs | |
parent | 6b303293b5c42b1a2619422daca4ad7175791e30 (diff) | |
parent | 43310164e47bc4fb45dcbf9506689bcbbb9dcb53 (diff) |
Merge pull request #298737 from MatthewCroughan/mc/scion-modules
nixos/scion: init
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/sc/scion/package.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/by-name/sc/scion/package.nix b/pkgs/by-name/sc/scion/package.nix index 4ded8b2d98e1b..67321aaa01ff2 100644 --- a/pkgs/by-name/sc/scion/package.nix +++ b/pkgs/by-name/sc/scion/package.nix @@ -2,6 +2,7 @@ , buildGoModule , fetchFromGitHub , fetchpatch2 +, nixosTests }: let version = "0.10.0"; @@ -42,6 +43,16 @@ buildGoModule { ${skipTest 1 "TestOpensslCompatible" "scion-pki/trcs/sign_test.go"} ''; + postInstall = '' + set +e + mv $out/bin/gateway $out/bin/scion-ip-gateway + mv $out/bin/dispatcher $out/bin/scion-dispatcher + mv $out/bin/router $out/bin/scion-router + mv $out/bin/control $out/bin/scion-control + mv $out/bin/daemon $out/bin/scion-daemon + set -e + ''; + doCheck = true; patches = [ @@ -51,6 +62,10 @@ buildGoModule { }) ]; + passthru.tests = { + inherit (nixosTests) scion-freestanding-deployment; + }; + meta = with lib; { description = "A future Internet architecture utilizing path-aware networking"; homepage = "https://scion-architecture.net/"; |