proxychains: 4.2.0 -> 4.4.0
This commit is contained in:
parent
5852a21819
commit
7eaa45b2b0
|
@ -1,27 +1,33 @@
|
||||||
{ lib, stdenv, fetchFromGitHub } :
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "proxychains";
|
pname = "proxychains";
|
||||||
version = "4.2.0";
|
version = "4.4.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "haad";
|
owner = "haad";
|
||||||
repo = "proxychains";
|
repo = pname;
|
||||||
rev = "${pname}-${version}";
|
rev = "${pname}-${version}";
|
||||||
sha256 = "015skh3z1jmm8kxbm3nkqv1w56kcvabdmcbmpwzywxr4xnh3x3pc";
|
sha256 = "083xdg6fsn8c2ns93lvy794rixxq8va6jdf99w1z0xi4j7f1nyjw";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Temporary work-around; most likely fixed by next upstream release
|
# Suppress compiler warning. Remove it when upstream fix arrives
|
||||||
sed -i Makefile -e '/-lpthread/a LDFLAGS+=-ldl'
|
substituteInPlace Makefile --replace "-Werror" "-Werror -Wno-stringop-truncation"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
cp src/proxychains.conf $out/etc
|
cp src/proxychains.conf $out/etc
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Proxifier for SOCKS proxies";
|
description = "Proxifier for SOCKS proxies";
|
||||||
homepage = "http://proxychains.sourceforge.net";
|
homepage = "http://proxychains.sourceforge.net";
|
||||||
license = lib.licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = lib.platforms.linux;
|
maintainers = with maintainers; [ fab ];
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue