scion: buildGo121Modules -> buildGoModule

made possible by an upstream fix to golden test conditions
This commit is contained in:
matthewcroughan 2024-03-25 21:48:41 +00:00
parent 07262b18b9
commit 4e9dc84506

View File

@ -1,6 +1,7 @@
{ lib { lib
, buildGo121Module , buildGoModule
, fetchFromGitHub , fetchFromGitHub
, fetchpatch2
}: }:
let let
version = "0.10.0"; version = "0.10.0";
@ -18,7 +19,7 @@ let
''; '';
in in
buildGo121Module { buildGoModule {
pname = "scion"; pname = "scion";
inherit version; inherit version;
@ -43,6 +44,13 @@ buildGo121Module {
doCheck = true; doCheck = true;
patches = [
(fetchpatch2 {
url = "https://github.com/scionproto/scion/commit/cb7fa6d6aab55c9eb90556c2b996b87539f8aa02.patch";
hash = "sha256-mMGJMPB6T7KeDXjEXffdrhzyKwaFmhuisK6PjHOJIdU=";
})
];
meta = with lib; { meta = with lib; {
description = "A future Internet architecture utilizing path-aware networking"; description = "A future Internet architecture utilizing path-aware networking";
homepage = "https://scion-architecture.net/"; homepage = "https://scion-architecture.net/";