mamba-cpp: init at 2.0.5 (#352030)

authored by Arne Keller and committed by GitHub 8c762043 6220a040

+57
+57
pkgs/by-name/ma/mamba-cpp/package.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + bzip2, 6 + cmake, 7 + cli11, 8 + yaml-cpp, 9 + nlohmann_json, 10 + zstd, 11 + reproc, 12 + spdlog, 13 + tl-expected, 14 + libmamba, 15 + python3, 16 + }: 17 + stdenv.mkDerivation rec { 18 + pname = "mamba-cpp"; 19 + version = "2.0.5"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "mamba-org"; 23 + repo = "mamba"; 24 + rev = "micromamba-${version}"; 25 + hash = "sha256-o5shAmsplJS2WZ4HhAt1U27KqUheVxZTkjlyxR7EYxI="; 26 + }; 27 + 28 + nativeBuildInputs = [ cmake ]; 29 + 30 + buildInputs = [ 31 + python3 32 + reproc 33 + spdlog 34 + nlohmann_json 35 + tl-expected 36 + zstd 37 + bzip2 38 + cli11 39 + yaml-cpp 40 + libmamba 41 + ]; 42 + 43 + cmakeFlags = [ 44 + (lib.cmakeBool "BUILD_MAMBA" true) 45 + (lib.cmakeBool "BUILD_SHARED" true) 46 + (lib.cmakeBool "BUILD_LIBMAMBA" false) 47 + ]; 48 + 49 + meta = with lib; { 50 + description = "Reimplementation of the conda package manager"; 51 + homepage = "https://github.com/mamba-org/mamba"; 52 + license = licenses.bsd3; 53 + platforms = platforms.linux ++ platforms.darwin; 54 + maintainers = with maintainers; [ klchen0112 ]; 55 + mainProgram = "mamba"; 56 + }; 57 + }