depot/third_party/nixpkgs/pkgs/servers/stone/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

34 lines
724 B
Nix

{ 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 = "TCP/IP repeater in the application layer";
homepage = "http://www.gcd.org/sengoku/stone/";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ corngood ];
mainProgram = "stone";
};
}