Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
53 lines
931 B
Nix
53 lines
931 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
bzip2,
|
|
cmake,
|
|
cli11,
|
|
yaml-cpp,
|
|
nlohmann_json,
|
|
zstd,
|
|
reproc,
|
|
spdlog,
|
|
tl-expected,
|
|
libmamba,
|
|
python3,
|
|
versionCheckHook,
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "mamba-cpp";
|
|
inherit (libmamba) version src;
|
|
|
|
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)
|
|
];
|
|
|
|
nativeInstallCheckInputs = [ versionCheckHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Reimplementation of the conda package manager";
|
|
homepage = "https://github.com/mamba-org/mamba";
|
|
license = licenses.bsd3;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ klchen0112 ];
|
|
mainProgram = "mamba";
|
|
};
|
|
}
|