Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 stdenv, 4 fetchurl, 5 cmake, 6 pcre, 7 zlib, 8 python3, 9 openssl, 10}: 11 12stdenv.mkDerivation rec { 13 pname = "cppcms"; 14 version = "2.0.0.beta2"; 15 16 src = fetchurl { 17 url = "mirror://sourceforge/cppcms/${pname}-${version}.tar.bz2"; 18 sha256 = "sha256-aXAxx9FB/dIVxr5QkLZuIQamO7PlLwnugSDo78bAiiE="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 python3 24 ]; 25 buildInputs = [ 26 pcre 27 zlib 28 openssl 29 ]; 30 31 strictDeps = true; 32 33 cmakeFlags = [ 34 "--no-warn-unused-cli" 35 ]; 36 37 meta = with lib; { 38 homepage = "http://cppcms.com"; 39 description = "High Performance C++ Web Framework"; 40 platforms = platforms.linux; 41 license = licenses.mit; 42 maintainers = [ maintainers.juliendehos ]; 43 }; 44}