blob: 24d040d6c420b4621ac2f4f71d3ea2e762793f6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ pkgsMusl, fetchFromGitHub }:
pkgsMusl.stdenv.mkDerivation {
name = "udp2raw";
src = fetchFromGitHub {
repo = "udp2raw-tunnel";
owner = "wangyu-";
rev = "5cc304a26181ee17bc583b79a2e80449ea63e1b7";
sha256 = "0j6l33rnxk0zf3xmg1x0k8ffzp11y124k2m8nfj1568zjy3qcdif";
};
patches = [ ./udp2raw-makefile.patch ];
configurePhase = "";
buildPhase = ''
make amd64
'';
installPhase = ''
install -Dm755 udp2raw_amd64 $out/bin/udp2raw
'';
}
|