Diff: https://github.com/mamba-org/mamba/compare/2.3.2...2.3.3 Changelog: https://github.com/mamba-org/mamba/blob/2.3.3/CHANGELOG.md
66 lines
1.0 KiB
Nix
66 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
python,
|
|
buildPythonPackage,
|
|
cmake,
|
|
ninja,
|
|
libmamba,
|
|
pybind11,
|
|
scikit-build-core,
|
|
fmt,
|
|
spdlog,
|
|
tl-expected,
|
|
nlohmann_json,
|
|
yaml-cpp,
|
|
reproc,
|
|
libsolv,
|
|
curl,
|
|
zstd,
|
|
bzip2,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "libmambapy";
|
|
pyproject = true;
|
|
|
|
inherit (libmamba) version src;
|
|
|
|
sourceRoot = "${src.name}/libmambapy";
|
|
|
|
build-system = [
|
|
cmake
|
|
ninja
|
|
pybind11
|
|
scikit-build-core
|
|
];
|
|
|
|
dontUseCmakeConfigure = true;
|
|
|
|
buildInputs = [
|
|
(libmamba.override { python3 = python; })
|
|
curl
|
|
zstd
|
|
bzip2
|
|
spdlog
|
|
fmt
|
|
tl-expected
|
|
nlohmann_json
|
|
yaml-cpp
|
|
reproc
|
|
libsolv
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"libmambapy"
|
|
"libmambapy.bindings"
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/mamba-org/mamba/blob/${src.tag}/libmambapy/CHANGELOG.md";
|
|
description = "Python library for the fast Cross-Platform Package Manager";
|
|
homepage = "https://github.com/mamba-org/mamba";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.ericthemagician ];
|
|
};
|
|
}
|