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
1 changed files with 10 additions and 2 deletions

View File

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