From 50ca8eb30a6c2ef296f6fb982922e7cef2c7c194 Mon Sep 17 00:00:00 2001 From: Julien Dehos Date: Wed, 17 Aug 2016 12:32:35 +0200 Subject: [PATCH] tntnet: init at 2.2.1 --- pkgs/development/libraries/tntnet/default.nix | 22 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/tntnet/default.nix diff --git a/pkgs/development/libraries/tntnet/default.nix b/pkgs/development/libraries/tntnet/default.nix new file mode 100644 index 000000000000..93f4d43e6f6e --- /dev/null +++ b/pkgs/development/libraries/tntnet/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchurl, cxxtools, zlib, openssl, zip }: + +stdenv.mkDerivation rec { + version = "2.2.1"; + name = "tntnet"; + src = fetchurl { + url = "http://www.tntnet.org/download/tntnet-${version}.tar.gz"; + sha256 = "08bmak9mpbamwwl3h9p8x5qzwqlm9g3jh70y0ml5hk7hiv870cf8"; + }; + + buildInputs = [ cxxtools zlib openssl zip ]; + + enableParallelBuilding = true; + + meta = with stdenv.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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8d29393ee233..cf244ba8d36d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9552,6 +9552,8 @@ in tnt = callPackage ../development/libraries/tnt { }; + tntnet = callPackage ../development/libraries/tntnet { }; + kyotocabinet = callPackage ../development/libraries/kyotocabinet { }; tokyocabinet = callPackage ../development/libraries/tokyo-cabinet { };