diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2022-02-05 13:41:23 -0800 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-02-09 21:05:27 -0800 |
commit | a0da54e4d11c289b0c8b5fae54bd77be0cb5af10 (patch) | |
tree | a0161151987c2746b215c4dc4f9229d1ad5c57a1 /pkgs/development/libraries/abseil-cpp/default.nix | |
parent | 39669ea2b6de398c6bacee1e653a27934c5e1c3b (diff) | |
download | nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.tar nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.tar.gz nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.tar.bz2 nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.tar.lz nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.tar.xz nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.tar.zst nixpkgs-a0da54e4d11c289b0c8b5fae54bd77be0cb5af10.zip |
abseil-cpp: init 20211102.0
Diffstat (limited to 'pkgs/development/libraries/abseil-cpp/default.nix')
-rw-r--r-- | pkgs/development/libraries/abseil-cpp/default.nix | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pkgs/development/libraries/abseil-cpp/default.nix b/pkgs/development/libraries/abseil-cpp/default.nix deleted file mode 100644 index 2ade512de31..00000000000 --- a/pkgs/development/libraries/abseil-cpp/default.nix +++ /dev/null @@ -1,45 +0,0 @@ -{ lib -, stdenv -, fetchFromGitHub -, fetchpatch -, cmake -, static ? stdenv.hostPlatform.isStatic -, cxxStandard ? null -}: - -stdenv.mkDerivation rec { - pname = "abseil-cpp"; - version = "20210324.2"; - - src = fetchFromGitHub { - owner = "abseil"; - repo = "abseil-cpp"; - rev = version; - sha256 = "0g9rbhk3mwjdfxk7cscd04vm8fphd5flz9yykpgvyy1nwa34zk3x"; - }; - - patches = [ - # Use CMAKE_INSTALL_FULL_{LIBDIR,INCLUDEDIR} - # https://github.com/abseil/abseil-cpp/pull/963 - (fetchpatch { - url = "https://github.com/abseil/abseil-cpp/commit/5bfa70c75e621c5d5ec095c8c4c0c050dcb2957e.patch"; - sha256 = "0nhjxqfxpi2pkfinnqvd5m4npf9l1kg39mjx9l3087ajhadaywl5"; - }) - ]; - - 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 ]; - }; -} |