diff --git a/pkgs/development/libraries/cppcms/default.nix b/pkgs/development/libraries/cppcms/default.nix new file mode 100644 index 000000000000..063d07e35243 --- /dev/null +++ b/pkgs/development/libraries/cppcms/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, cmake, pcre, zlib, python, openssl }: + +stdenv.mkDerivation rec { + name = "cppcms"; + version = "1.0.5"; + + src = fetchurl { + url = "mirror://sourceforge/cppcms/${name}-${version}.tar.bz2"; + sha256 = "0r8qyp102sq4lw8xhrjhan0dnslhsmxj4zs9jzlw75yagfbqbdl4"; + }; + + enableParallelBuilding = true; + + buildInputs = [ cmake pcre zlib python openssl ]; + + cmakeFlags = [ + "--no-warn-unused-cli" + ]; + + meta = with stdenv.lib; { + homepage = "http://cppcms.com"; + description = "High Performance C++ Web Framework"; + platforms = platforms.linux ; + license = licenses.lgpl3; + maintainers = [ maintainers.juliendehos ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 146f2a2fd352..9e3bab27932e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7092,6 +7092,8 @@ in cpp-netlib = callPackage ../development/libraries/cpp-netlib { }; + cppcms = callPackage ../development/libraries/cppcms { }; + cppunit = callPackage ../development/libraries/cppunit { }; cpputest = callPackage ../development/libraries/cpputest { };