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 Nov 10, 2024
1 parent 98d6f3b commit ee8ceb4
Showing 1 changed file with 57 additions and 0 deletions.
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 ee8ceb4

Please sign in to comment.