nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "abseil-cpp";
5 version = "20200225.2";
6
7 src = fetchFromGitHub {
8 owner = "abseil";
9 repo = "abseil-cpp";
10 rev = version;
11 sha256 = "0dwxg54pv6ihphbia0iw65r64whd7v8nm4wwhcz219642cgpv54y";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 meta = with stdenv.lib; {
17 description = "An open-source collection of C++ code designed to augment the C++ standard library";
18 homepage = "https://abseil.io/";
19 license = licenses.asl20;
20 platforms = platforms.all;
21 maintainers = [ maintainers.andersk ];
22 };
23}