You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
543 B

  1. { stdenv, fetchFromGitHub, cmake }:
  2. stdenv.mkDerivation rec {
  3. name = "googletest-${version}";
  4. version = "1.8.0";
  5. buildInputs = [ cmake ];
  6. src = fetchFromGitHub {
  7. owner = "google";
  8. repo = "googletest";
  9. rev = "release-${version}";
  10. sha256 = "0bjlljmbf8glnd9qjabx73w6pd7ibv43yiyngqvmvgxsabzr8399";
  11. };
  12. meta = with stdenv.lib; {
  13. description = "Google's C++ test framework";
  14. homepage = "https://github.com/google/googletest";
  15. maintainers = [ maintainers.spacefrogg ];
  16. platforms = platforms.all;
  17. };
  18. }