gmock: deprecate alias

This commit is contained in:
Sandro Jäckel 2021-03-14 19:03:18 +01:00
parent 33a395f195
commit d24e2d1b0b
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
7 changed files with 12 additions and 12 deletions

View File

@ -4,7 +4,7 @@
, cmake
, gmp
, glog
, gmock
, gtest
, openssl
, gflags
, gnuradio3_8
@ -42,7 +42,7 @@ gnuradio3_8.pkgs.mkDerivation rec {
armadillo
gnuradio3_8.unwrapped.boost
glog
gmock
gtest
openssl
gflags
orc

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, gmock, boost, pkg-config, protobuf, icu }:
{ lib, stdenv, fetchFromGitHub, cmake, gtest, boost, pkg-config, protobuf, icu }:
stdenv.mkDerivation rec {
pname = "phonenumber";
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cmake
gmock
gtest
pkg-config
];

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, cmake, boost, glog, leveldb, marisa, opencc,
libyamlcpp, gmock }:
libyamlcpp, gtest }:
stdenv.mkDerivation rec {
pname = "librime";
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gmock ];
buildInputs = [ boost glog leveldb marisa opencc libyamlcpp gtest ];
meta = with lib; {
homepage = "https://rime.im/";

View File

@ -1,6 +1,6 @@
{ lib, stdenv
, fetchFromGitHub
, autoreconfHook, zlib, gmock, buildPackages
, autoreconfHook, zlib, gtest, buildPackages
, version, sha256
, ...
}:
@ -20,8 +20,8 @@ mkProtobufDerivation = buildProtobuf: stdenv: stdenv.mkDerivation {
postPatch = ''
rm -rf gmock
cp -r ${gmock.src}/googlemock gmock
cp -r ${gmock.src}/googletest googletest
cp -r ${gtest.src}/googlemock gmock
cp -r ${gtest.src}/googletest googletest
chmod -R a+w gmock
chmod -R a+w googletest
ln -s ../googletest gmock/gtest

View File

@ -16,7 +16,7 @@ common =
, jq, libarchive, libcpuid
, lowdown, mdbook
# Used by tests
, gmock
, gtest
, busybox-sandbox-shell
, storeDir
, stateDir
@ -56,7 +56,7 @@ common =
]
++ lib.optionals stdenv.isDarwin [ Security ]
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
++ lib.optionals is24 [ libarchive gmock lowdown ]
++ lib.optionals is24 [ libarchive gtest lowdown ]
++ lib.optional (is24 && stdenv.isx86_64) libcpuid
++ lib.optional withLibseccomp libseccomp
++ lib.optional withAWS

View File

@ -269,6 +269,7 @@ mapAliases ({
gnustep-make = gnustep.make; # added 2016-7-6
gnupg20 = throw "gnupg20 has been removed from nixpkgs as upstream dropped support on 2017-12-31";# added 2020-07-12
gnuvd = throw "gnuvd was removed because the backend service is missing"; # added 2020-01-14
gmock = gtest; # moved from top-level 2021-03-14
go_1_12 = throw "go_1_12 has been removed"; # added 2020-04-26
go-pup = pup; # added 2017-12-19
gobby5 = gobby; # added 2021-02-01

View File

@ -5176,7 +5176,6 @@ in
gt5 = callPackage ../tools/system/gt5 { };
gtest = callPackage ../development/libraries/gtest { };
gmock = gtest; # TODO: move to aliases.nix
gbenchmark = callPackage ../development/libraries/gbenchmark {};