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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

51 lines
983 B
Nix
Raw Normal View History

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 {
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;
meta = with lib; {
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 ];
};
}