mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Merge pull request #100873 from AtnNn/gtest
This commit is contained in:
commit
7c4305be84
@ -1,4 +1,4 @@
|
||||
{ stdenv, cmake, ninja, fetchFromGitHub }:
|
||||
{ stdenv, cmake, ninja, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gtest";
|
||||
@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user