depot/third_party/nixpkgs/pkgs/development/libraries/tntnet/default.nix

24 lines
654 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, cxxtools, zlib, openssl, zip }:
stdenv.mkDerivation rec {
pname = "tntnet";
version = "2.2.1";
src = fetchurl {
url = "http://www.tntnet.org/download/${pname}-${version}.tar.gz";
sha256 = "08bmak9mpbamwwl3h9p8x5qzwqlm9g3jh70y0ml5hk7hiv870cf8";
};
buildInputs = [ cxxtools zlib openssl zip ];
enableParallelBuilding = true;
meta = with lib; {
homepage = "http://www.tntnet.org/tntnet.html";
description = "Web server which allows users to develop web applications using C++";
platforms = platforms.linux ;
license = licenses.lgpl21;
maintainers = [ maintainers.juliendehos ];
};
}