depot/third_party/nixpkgs/pkgs/development/libraries/oatpp/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

29 lines
717 B
Nix

{ lib, stdenv
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "oatpp";
version = "1.3.0";
src = fetchFromGitHub {
owner = "oatpp";
repo = "oatpp";
rev = version;
sha256 = "sha256-k6RPg53z9iTrrKZXOm5Ga9qxI32mHgB+4d6y+IUvJC0=";
};
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;
};
}