diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/oatpp')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/oatpp/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/oatpp/default.nix b/nixpkgs/pkgs/development/libraries/oatpp/default.nix new file mode 100644 index 000000000000..084f3c4a935b --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/oatpp/default.nix @@ -0,0 +1,29 @@ +{ lib, stdenv +, fetchFromGitHub +, cmake +}: + +stdenv.mkDerivation rec { + pname = "oatpp"; + version = "1.2.0"; + + src = fetchFromGitHub { + owner = "oatpp"; + repo = "oatpp"; + rev = version; + sha256 = "05rm0m5zf1b5ky8prf6yni2074bz6yjjbrc2qk96fb48fc1198gw"; + }; + + nativeBuildInputs = [ cmake ]; + + # Tests fail on darwin. See https://github.com/NixOS/nixpkgs/pull/105419#issuecomment-735826894 + doCheck = !stdenv.isDarwin; + + meta = with lib; { + homepage = "https://oatpp.io/"; + description = "Light and powerful C++ web framework for highly scalable and resource-efficient web applications"; + license = licenses.asl20; + maintainers = [ maintainers.ivar ]; + platforms = platforms.all; + }; +} |