2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
fetchFromGitHub,
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
cmake,
|
|
|
|
fmt,
|
|
|
|
spdlog,
|
|
|
|
tl-expected,
|
|
|
|
nlohmann_json,
|
|
|
|
yaml-cpp,
|
|
|
|
simdjson,
|
|
|
|
reproc,
|
|
|
|
libsolv,
|
|
|
|
curl,
|
|
|
|
libarchive,
|
|
|
|
zstd,
|
|
|
|
bzip2,
|
|
|
|
python3Packages,
|
|
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libmamba";
|
|
|
|
version = "1.5.8";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mamba-org";
|
|
|
|
repo = "mamba";
|
2024-09-19 14:19:46 +00:00
|
|
|
rev = "libmamba-${version}";
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-sxZDlMFoMLq2EAzwBVO++xvU1C30JoIoZXEX/sqkXS0=";
|
|
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
python3Packages.python
|
|
|
|
];
|
|
|
|
buildInputs = [
|
|
|
|
fmt
|
|
|
|
spdlog
|
|
|
|
tl-expected
|
|
|
|
nlohmann_json
|
|
|
|
yaml-cpp
|
|
|
|
simdjson
|
|
|
|
reproc
|
|
|
|
libsolv
|
|
|
|
curl
|
|
|
|
libarchive
|
|
|
|
zstd
|
|
|
|
bzip2
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
(lib.cmakeBool "BUILD_LIBMAMBA" true)
|
|
|
|
(lib.cmakeBool "BUILD_SHARED" true)
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Library for the fast Cross-Platform Package Manager";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://github.com/mamba-org/mamba";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
maintainers = [ lib.maintainers.ericthemagician ];
|
|
|
|
};
|
|
|
|
}
|