blob: ba9cdb20b705f84e53d89c355fdc5c5b4703d6b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgsMusl, fetchFromGitHub }:
pkgsMusl.stdenv.mkDerivation rec {
pname = "udp2raw";
version = "20200818.0";
src = fetchFromGitHub {
repo = "udp2raw-tunnel";
owner = "wangyu-";
rev = version;
hash = "sha256-TkTOfF1RfHJzt80q0mN4Fek3XSFY/8jdeAVtyluZBt8=";
};
patches = [ ./udp2raw-makefile.patch ];
configurePhase = "";
buildPhase = ''
make amd64
'';
installPhase = ''
install -Dm755 udp2raw_amd64 $out/bin/udp2raw
'';
}
|