gtest: 1.10.0 -> 1.11.0

This commit is contained in:
Mike Purvis 2021-07-15 08:55:49 -04:00 committed by Frederik Rietdijk
parent 29bbaa1489
commit 380301fe4a

View File

@ -1,8 +1,8 @@
{ lib, stdenv, cmake, ninja, fetchFromGitHub, fetchpatch }:
{ lib, stdenv, cmake, ninja, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "gtest";
version = "1.10.0";
version = "1.11.0";
outputs = [ "out" "dev" ];
@ -10,16 +10,11 @@ stdenv.mkDerivation rec {
owner = "google";
repo = "googletest";
rev = "release-${version}";
sha256 = "1zbmab9295scgg4z2vclgfgjchfjailjnvzc6f5x9jvlsdi3dpwz";
hash = "sha256-SjlJxushfry13RGA7BCjYC9oZqV4z6x8dOiHfl/wpF0=";
};
patches = [
./fix-cmake-config-includedir.patch
(fetchpatch {
name = "fix-pkgconfig-paths.patch";
url = "https://github.com/google/googletest/commit/5126ff48d9ac54828d1947d1423a5ef2a8efee3b.patch";
sha256 = "sha256-TBvECU/9nuvwjsCjWJP2b6DNy+FYnHIFZeuVW7g++JE=";
})
];
nativeBuildInputs = [ cmake ninja ];