2023-12-10 23:27:05 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, fetchpatch
|
|
|
|
, autoreconfHook
|
|
|
|
, cxxtools
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
, zip
|
|
|
|
}:
|
2016-08-17 10:32:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "tntnet";
|
2023-12-10 23:27:05 +00:00
|
|
|
version = "3.0";
|
2018-05-28 12:59:57 +00:00
|
|
|
|
2023-12-10 23:27:05 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "maekitalo";
|
|
|
|
repo = "tntnet";
|
|
|
|
rev = "V${version}";
|
|
|
|
hash = "sha256-ujVPOreCGCFlYHa19yCIiZ0ed+p0jnS14DHDwKYvtc0=";
|
2016-08-17 10:32:35 +00:00
|
|
|
};
|
|
|
|
|
2023-12-10 23:27:05 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
url = "https://github.com/maekitalo/tntnet/commit/69adfc8ee351a0e82990c1ffa7af6dab726e1e49.patch";
|
|
|
|
hash = "sha256-4UdUXKQiIa9CPlGg8XmfKQ8NTWb2A3AiuPthzEthlf8=";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cxxtools
|
|
|
|
zlib
|
|
|
|
openssl
|
|
|
|
zip
|
|
|
|
];
|
2016-08-17 10:32:35 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.tntnet.org/tntnet.html";
|
2016-08-17 10:32:35 +00:00
|
|
|
description = "Web server which allows users to develop web applications using C++";
|
2023-12-10 23:27:05 +00:00
|
|
|
platforms = platforms.linux;
|
2016-08-17 10:32:35 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.juliendehos ];
|
|
|
|
};
|
|
|
|
}
|