libmamba: minor cleanup

This commit is contained in:
Hythera
2026-05-21 20:50:09 +02:00
parent 7c21402d9a
commit 39c7f28bb2
4 changed files with 67 additions and 62 deletions
+28 -25
View File
@@ -1,23 +1,23 @@
{
fetchFromGitHub,
lib,
stdenv,
cmake,
fmt,
spdlog,
tl-expected,
nlohmann_json,
yaml-cpp,
simdjson,
reproc,
libsolv,
curl,
msgpack-c,
libarchive,
zstd,
nix-update-script,
bzip2,
cmake,
curl,
fetchFromGitHub,
fmt,
lib,
libarchive,
libsolv,
msgpack-c,
nix-update-script,
nlohmann_json,
python3,
reproc,
simdjson,
spdlog,
stdenv,
tl-expected,
yaml-cpp,
zstd,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -37,19 +37,19 @@ stdenv.mkDerivation (finalAttrs: {
];
buildInputs = [
bzip2
curl
fmt
libarchive
libsolv
msgpack-c
nlohmann_json
reproc
simdjson
spdlog
tl-expected
nlohmann_json
yaml-cpp
simdjson
reproc
libsolv
curl
msgpack-c
libarchive
zstd
bzip2
];
cmakeFlags = [
@@ -58,6 +58,9 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeBool "BUILD_SHARED" true)
];
__structuredAttrs = true;
strictDeps = true;
passthru.updateScript = nix-update-script { };
meta = {
+16 -13
View File
@@ -1,19 +1,19 @@
{
lib,
stdenv,
bzip2,
cmake,
cli11,
cmake,
lib,
libmamba,
msgpack-c,
yaml-cpp,
nlohmann_json,
zstd,
python3,
reproc,
spdlog,
stdenv,
tl-expected,
libmamba,
python3,
versionCheckHook,
yaml-cpp,
zstd,
}:
stdenv.mkDerivation {
pname = "mamba-cpp";
@@ -22,17 +22,17 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake ];
buildInputs = [
bzip2
cli11
libmamba
msgpack-c
nlohmann_json
python3
reproc
spdlog
nlohmann_json
tl-expected
zstd
bzip2
cli11
msgpack-c
yaml-cpp
libmamba
zstd
];
cmakeFlags = [
@@ -43,6 +43,9 @@ stdenv.mkDerivation {
nativeInstallCheckInputs = [ versionCheckHook ];
__structuredAttrs = true;
strictDeps = true;
meta = {
description = "Reimplementation of the conda package manager";
homepage = "https://github.com/mamba-org/mamba";
@@ -1,25 +1,24 @@
{
lib,
boltons,
buildPythonPackage,
fetchFromGitHub,
hatchling,
hatch-vcs,
boltons,
lib,
libmambapy,
msgpack,
requests,
zstandard,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "conda-libmamba-solver";
version = "26.4.2";
pyproject = true;
src = fetchFromGitHub {
inherit pname version;
owner = "conda";
repo = "conda-libmamba-solver";
tag = version;
tag = finalAttrs.version;
hash = "sha256-8+BIUQp2tg50P0UDjzBvywg8/mDelDYMtp/ejEcMH20=";
};
@@ -47,4 +46,4 @@ buildPythonPackage rec {
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.ericthemagician ];
};
}
})
@@ -1,23 +1,23 @@
{
lib,
python,
buildPythonPackage,
bzip2,
cmake,
curl,
buildPythonPackage,
fmt,
lib,
libmamba,
libsolv,
msgpack-c,
ninja,
libmamba,
nlohmann_json,
pybind11,
python,
reproc,
scikit-build-core,
fmt,
spdlog,
tl-expected,
nlohmann_json,
yaml-cpp,
reproc,
libsolv,
curl,
zstd,
bzip2,
}:
buildPythonPackage rec {
@@ -39,17 +39,17 @@ buildPythonPackage rec {
buildInputs = [
(libmamba.override { python3 = python; })
curl
zstd
bzip2
spdlog
curl
fmt
msgpack-c
tl-expected
nlohmann_json
yaml-cpp
reproc
libsolv
msgpack-c
nlohmann_json
reproc
spdlog
tl-expected
yaml-cpp
zstd
];
pythonImportsCheck = [