micromamba: init at 0.14.1

This commit is contained in:
Mauricio Scheffer 2021-07-04 19:28:28 +01:00
parent 5e8bfbb4c7
commit 7eaf29cb05
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,49 @@
{ lib, stdenv, fetchFromGitHub, cmake
, cli11, nlohmann_json, curl, libarchive, libyamlcpp, libsolv, reproc
}:
let
libsolv' = libsolv.overrideAttrs (oldAttrs: {
cmakeFlags = oldAttrs.cmakeFlags ++ [
"-DENABLE_CONDA=true" # Maybe enable this in the original libsolv package? No idea about the implications.
];
});
in
stdenv.mkDerivation rec {
pname = "micromamba";
version = "0.14.1";
src = fetchFromGitHub {
owner = "mamba-org";
repo = "mamba";
rev = version;
sha256 = "0a5kmwk44ll4d8b2akjc0vm6ap9jfxclcw4fclvjxr2in3am9256";
};
nativeBuildInputs = [ cmake ];
buildInputs = [
cli11
nlohmann_json
curl
libarchive
libyamlcpp
libsolv'
reproc
# python3Packages.pybind11 # Would be necessary if someone wants to build with bindings I guess.
];
cmakeFlags = [
"-DBUILD_BINDINGS=OFF" # Fails to build, I don't think it's necessary for now.
"-DBUILD_EXE=ON"
];
CXXFLAGS = "-DMAMBA_USE_STD_FS";
meta = with lib; {
description = "Reimplementation of the conda package manager";
homepage = "https://github.com/mamba-org/mamba";
license = licenses.bsd3;
maintainers = with maintainers; [ mausch ];
};
}

View file

@ -30938,6 +30938,8 @@ in
mas = callPackage ../os-specific/darwin/mas { };
micromamba = callPackage ../tools/package-management/micromamba { };
moltengamepad = callPackage ../misc/drivers/moltengamepad { };
openzwave = callPackage ../development/libraries/openzwave { };