2023-07-08 02:46:29 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchurl
|
|
|
|
, openssl
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "stone";
|
|
|
|
version = "2.4";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.gcd.org/sengoku/stone/stone-${version}.tar.gz";
|
|
|
|
hash = "sha256-1dwa9uxdpQPypAs98/4ZqPv5085pa49G9NU9KsjY628=";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
|
|
|
|
makeFlags = [ "linux-ssl" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
install -Dm755 stone -t $out/bin
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A TCP/IP repeater in the application layer";
|
|
|
|
homepage = "http://www.gcd.org/sengoku/stone/";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ corngood ];
|
2023-11-23 21:09:35 +00:00
|
|
|
mainProgram = "stone";
|
2023-07-08 02:46:29 +00:00
|
|
|
};
|
|
|
|
}
|