nixpkgs-suyu/pkgs/development/libraries/oatpp/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
717 B
Nix
Raw Normal View History

{ lib, stdenv
2020-11-30 03:52:38 +01:00
, fetchFromGitHub
, cmake
}:
stdenv.mkDerivation rec {
pname = "oatpp";
2021-12-07 19:51:12 +01:00
version = "1.3.0";
2020-11-30 03:52:38 +01:00
src = fetchFromGitHub {
owner = "oatpp";
repo = "oatpp";
rev = version;
2021-12-07 19:51:12 +01:00
sha256 = "sha256-k6RPg53z9iTrrKZXOm5Ga9qxI32mHgB+4d6y+IUvJC0=";
2020-11-30 03:52:38 +01:00
};
nativeBuildInputs = [ cmake ];
# Tests fail on darwin. See https://github.com/NixOS/nixpkgs/pull/105419#issuecomment-735826894
doCheck = !stdenv.isDarwin;
meta = with lib; {
2020-11-30 03:52:38 +01:00
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;
};
}