Skip to content

Commit

Permalink
mamba: init at 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
klchen0112 committed Oct 29, 2024
1 parent 800ffc5 commit 1cf7457
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/by-name/li/libmamba/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
}:
stdenv.mkDerivation rec {
pname = "libmamba";
version = "1.5.8";
version = "2.0.2";
src = fetchFromGitHub {
owner = "mamba-org";
repo = "mamba";
rev = "libmamba-${version}";
hash = "sha256-sxZDlMFoMLq2EAzwBVO++xvU1C30JoIoZXEX/sqkXS0=";
hash = "sha256-gAU7ORlALQly152w5URu5Ra+OYOsa3BzT1v5jBo5/Ao=";
};
nativeBuildInputs = [
cmake
Expand Down
57 changes: 57 additions & 0 deletions pkgs/by-name/ma/mamba-cpp/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
bzip2,
cmake,
cli11,
yaml-cpp,
nlohmann_json,
zstd,
reproc,
spdlog,
tl-expected,
libmamba,
python3,
}:
stdenv.mkDerivation rec {
pname = "mamba-cpp";
version = "2.0.2";

src = fetchFromGitHub {
owner = "mamba-org";
repo = "mamba";
rev = "micromamba-${version}";
hash = "sha256-gAU7ORlALQly152w5URu5Ra+OYOsa3BzT1v5jBo5/Ao=";
};

nativeBuildInputs = [cmake];

buildInputs = [
python3
reproc
spdlog
nlohmann_json
tl-expected
zstd
bzip2
cli11
yaml-cpp
libmamba
];

cmakeFlags = [
(lib.cmakeBool "BUILD_MAMBA" true)
(lib.cmakeBool "BUILD_SHARED" true)
(lib.cmakeBool "BUILD_LIBMAMBA" false)
];

meta = with lib; {
description = "Reimplementation of the conda package manager";
homepage = "https://github.com/mamba-org/mamba";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [klchen0112];
mainProgram = "mamba";
};
}

0 comments on commit 1cf7457

Please sign in to comment.