commit
1b5dc4fed1
1 changed files with 2 additions and 7 deletions
|
@ -2,20 +2,15 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tnat64";
|
||||
version = "0.05";
|
||||
version = "0.06";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "andrewshadura";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "07lmzidbrd3aahk2jvv93cic9gf36pwmgfd63gmy6hjkxf9a6fw9";
|
||||
sha256 = "191j1fpr3bw6fk48npl99z7iq6m1g33f15xk5cay1gnk5f46i2j6";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Fix usage of deprecated sys_errlist
|
||||
substituteInPlace tnat64.c --replace 'sys_errlist[errno]' 'strerror(errno)'
|
||||
'';
|
||||
|
||||
configureFlags = [ "--libdir=$(out)/lib" ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue