abseil-cpp_202206: init at 20220623.1
This commit is contained in:
parent
b4fb830c37
commit
7399b9f0cf
36
pkgs/development/libraries/abseil-cpp/202206.nix
Normal file
36
pkgs/development/libraries/abseil-cpp/202206.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, cmake
|
||||
, static ? stdenv.hostPlatform.isStatic
|
||||
, cxxStandard ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abseil-cpp";
|
||||
version = "20220623.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "abseil";
|
||||
repo = "abseil-cpp";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-Od1FZOOWEXVQsnZBwGjDIExi6LdYtomyL0STR44SsG8=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}"
|
||||
] ++ lib.optionals (cxxStandard != null) [
|
||||
"-DCMAKE_CXX_STANDARD=${cxxStandard}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An open-source collection of C++ code designed to augment the C++ standard library";
|
||||
homepage = "https://abseil.io/";
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.andersk ];
|
||||
};
|
||||
}
|
@ -17606,6 +17606,7 @@ with pkgs;
|
||||
|
||||
abseil-cpp_202111 = callPackage ../development/libraries/abseil-cpp/202111.nix { };
|
||||
abseil-cpp_202103 = callPackage ../development/libraries/abseil-cpp/202103.nix { };
|
||||
abseil-cpp_202206 = callPackage ../development/libraries/abseil-cpp/202206.nix { };
|
||||
abseil-cpp = abseil-cpp_202103;
|
||||
|
||||
accountsservice = callPackage ../development/libraries/accountsservice { };
|
||||
|
Loading…
Reference in New Issue
Block a user