3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/tntnet/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

24 lines
654 B
Nix

{ 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 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 ];
};
}