python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / gtest / default.nix
blob049d202a71ec08ad6505e0c7ea4989015eeb4558
1 { lib, stdenv, cmake, ninja, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "gtest";
5   version = "1.12.1";
7   outputs = [ "out" "dev" ];
9   src = fetchFromGitHub {
10     owner = "google";
11     repo = "googletest";
12     rev = "release-${version}";
13     hash = "sha256-W+OxRTVtemt2esw4P7IyGWXOonUN5ZuscjvzqkYvZbM=";
14   };
16   patches = [
17     ./fix-cmake-config-includedir.patch
18   ];
20   nativeBuildInputs = [ cmake ninja ];
22   cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
24   meta = with lib; {
25     description = "Google's framework for writing C++ tests";
26     homepage = "https://github.com/google/googletest";
27     license = licenses.bsd3;
28     platforms = platforms.all;
29     maintainers = with maintainers; [ ivan-tkatchev ];
30   };