Unverified Commit 0bb64539 authored by lassulus's avatar lassulus Committed by GitHub
Browse files

Merge pull request #299024 from MatthewCroughan/mc/fix-scion

scion: buildGo121Modules -> buildGoModule
parents 7fd4456c 4e9dc845
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
{ 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/";