21 libsolv' = libsolv.overrideAttrs (oldAttrs: {
22 cmakeFlags = oldAttrs.cmakeFlags ++ [
27 # Apply the same patch as in the "official" boa-forge build:
28 # https://github.com/mamba-org/boa-forge/tree/master/libsolv
30 url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/conda_variant_priorization.patch";
31 sha256 = "1iic0yx7h8s662hi2jqx68w5kpyrab4fr017vxd4wyxb6wyk35dd";
36 stdenv.mkDerivation rec {
40 src = fetchFromGitHub {
43 rev = "micromamba-" + version;
44 hash = "sha256-sxZDlMFoMLq2EAzwBVO++xvU1C30JoIoZXEX/sqkXS0=";
47 nativeBuildInputs = [ cmake ];
67 "-DBUILD_MICROMAMBA=ON"
68 # "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON"
72 description = "Reimplementation of the conda package manager";
73 homepage = "https://github.com/mamba-org/mamba";
74 license = licenses.bsd3;
75 platforms = platforms.all;
76 maintainers = with maintainers; [ mausch ];
77 mainProgram = "micromamba";