Skip to content

Commit 8c76204

Browse files
mamba-cpp: init at 2.0.5 (#352030)
2 parents 6220a04 + b53b83a commit 8c76204

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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+
}

0 commit comments

Comments
 (0)