diff --git a/pkgs/servers/stone/default.nix b/pkgs/servers/stone/default.nix new file mode 100644 index 000000000000..65ddb92da7a1 --- /dev/null +++ b/pkgs/servers/stone/default.nix @@ -0,0 +1,33 @@ +{ 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 770cfc6613ae..fd646773ca78 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -27506,6 +27506,8 @@ with pkgs; static-web-server = callPackage ../servers/static-web-server { }; + stone = callPackage ../servers/stone { }; + storm = callPackage ../servers/computing/storm { }; surrealdb = callPackage ../servers/nosql/surrealdb {