Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / servers / stone / default.nix
blob65ddb92da7a17f41b90cb5bd07c4193f95cbdc1f
1 { stdenv
2 , lib
3 , fetchurl
4 , openssl
5 }:
7 stdenv.mkDerivation rec {
8   pname = "stone";
9   version = "2.4";
11   src = fetchurl {
12     url = "http://www.gcd.org/sengoku/stone/stone-${version}.tar.gz";
13     hash = "sha256-1dwa9uxdpQPypAs98/4ZqPv5085pa49G9NU9KsjY628=";
14   };
16   buildInputs = [ openssl ];
18   makeFlags = [ "linux-ssl" ];
20   installPhase = ''
21     runHook preInstall
22     install -Dm755 stone -t $out/bin
23     runHook postInstall
24   '';
26   meta = with lib; {
27     description = "A TCP/IP repeater in the application layer";
28     homepage = "http://www.gcd.org/sengoku/stone/";
29     license = licenses.gpl2Only;
30     platforms = platforms.linux;
31     maintainers = with maintainers; [ corngood ];
32   };