Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv 2, fetchFromGitHub 3, cmake 4}: 5 6stdenv.mkDerivation rec { 7 pname = "oatpp"; 8 version = "1.3.0"; 9 10 src = fetchFromGitHub { 11 owner = "oatpp"; 12 repo = "oatpp"; 13 rev = version; 14 sha256 = "sha256-k6RPg53z9iTrrKZXOm5Ga9qxI32mHgB+4d6y+IUvJC0="; 15 }; 16 17 nativeBuildInputs = [ cmake ]; 18 19 # Tests fail on darwin. See https://github.com/NixOS/nixpkgs/pull/105419#issuecomment-735826894 20 doCheck = !stdenv.isDarwin; 21 22 meta = with lib; { 23 homepage = "https://oatpp.io/"; 24 description = "Light and powerful C++ web framework for highly scalable and resource-efficient web applications"; 25 license = licenses.asl20; 26 maintainers = [ maintainers.ivar ]; 27 platforms = platforms.all; 28 }; 29}