summaryrefslogtreecommitdiff
path: root/overlays/udp2raw
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-11-17 06:44:09 +0059
committerGregor Kleen <gkleen@yggdrasil.li>2021-11-17 06:44:09 +0059
commite76a654ce960d190c53339f2290906b6736dee60 (patch)
treec81943b24c82a447bcc7ae4645477146b2e059be /overlays/udp2raw
parent85ecd1a65123cce94e634dc41c342a1d02f43c06 (diff)
downloadnixos-e76a654ce960d190c53339f2290906b6736dee60.tar
nixos-e76a654ce960d190c53339f2290906b6736dee60.tar.gz
nixos-e76a654ce960d190c53339f2290906b6736dee60.tar.bz2
nixos-e76a654ce960d190c53339f2290906b6736dee60.tar.xz
nixos-e76a654ce960d190c53339f2290906b6736dee60.zip
bump versions
Diffstat (limited to 'overlays/udp2raw')
-rw-r--r--overlays/udp2raw/default.nix3
-rw-r--r--overlays/udp2raw/package.nix20
-rw-r--r--overlays/udp2raw/udp2raw-makefile.patch10
3 files changed, 0 insertions, 33 deletions
diff --git a/overlays/udp2raw/default.nix b/overlays/udp2raw/default.nix
deleted file mode 100644
index b08bdf4b..00000000
--- a/overlays/udp2raw/default.nix
+++ /dev/null
@@ -1,3 +0,0 @@
1final: prev: {
2 udp2raw = final.callPackage ./package.nix {};
3}
diff --git a/overlays/udp2raw/package.nix b/overlays/udp2raw/package.nix
deleted file mode 100644
index 6612ac3e..00000000
--- a/overlays/udp2raw/package.nix
+++ /dev/null
@@ -1,20 +0,0 @@
1{ pkgsMusl, fetchFromGitHub }:
2pkgsMusl.stdenv.mkDerivation rec {
3 pname = "udp2raw";
4 version = "20200818.0";
5
6 src = fetchFromGitHub {
7 repo = "udp2raw-tunnel";
8 owner = "wangyu-";
9 rev = version;
10 hash = "sha256-TkTOfF1RfHJzt80q0mN4Fek3XSFY/8jdeAVtyluZBt8=";
11 };
12 patches = [ ./udp2raw-makefile.patch ];
13 configurePhase = "";
14 buildPhase = ''
15 make cc_amd64=''${CXX} amd64_hw_aes
16 '';
17 installPhase = ''
18 install -Dm755 udp2raw_amd64_hw_aes $out/bin/udp2raw
19 '';
20}
diff --git a/overlays/udp2raw/udp2raw-makefile.patch b/overlays/udp2raw/udp2raw-makefile.patch
deleted file mode 100644
index 264f5cf4..00000000
--- a/overlays/udp2raw/udp2raw-makefile.patch
+++ /dev/null
@@ -1,10 +0,0 @@
1diff --git a/makefile b/makefile
2index 22c07ae..ddcfbc4 100755
3--- a/makefile
4+++ b/makefile
5@@ -131,4 +131,4 @@ clean:
6 rm -f git_version.h
7
8 git_version:
9- echo "const char *gitversion = \"$(shell git rev-parse HEAD)\";" > git_version.h
10+ echo "const char *gitversion = \"cc6ea766c495cf4c69d1c7485728ba022b0f19de\";" > git_version.h