micromamba 1.0.0 -> 2023.01.16 https://github.com/mamba-org/mamba/releases attrpath: micromamba Checking auto update branch... No auto update branch exists Old version 1.0.0" not present in master derivation file with contents: { lib , stdenv , fetchFromGitHub , fetchpatch , bzip2 , cli11 , cmake , curl , ghc_filesystem , libarchive , libsolv , libyamlcpp , nlohmann_json , python3 , reproc , spdlog , termcolor , tl-expected , fmt_9 }: let libsolv' = libsolv.overrideAttrs (oldAttrs: { cmakeFlags = oldAttrs.cmakeFlags ++ [ "-DENABLE_CONDA=true" ]; patches = [ # Apply the same patch as in the "official" boa-forge build: # https://github.com/mamba-org/boa-forge/tree/master/libsolv (fetchpatch { url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/conda_variant_priorization.patch"; sha256 = "1iic0yx7h8s662hi2jqx68w5kpyrab4fr017vxd4wyxb6wyk35dd"; }) ]; }); spdlog' = spdlog.overrideAttrs (oldAttrs: { # Use as header-only library. # # Spdlog 1.11 requires fmt version 8 while micromamba requires # version 9. spdlog may use its bundled version of fmt, # though. Micromamba is not calling spdlog functions with # fmt-types in their signature. I.e. we get away with removing # fmt_8 from spdlog's propagated dependencies and using fmt_9 for # micromamba itself. dontBuild = true; cmakeFlags = oldAttrs.cmakeFlags ++ [ "-DSPDLOG_FMT_EXTERNAL=OFF" ]; propagatedBuildInputs = []; }); in stdenv.mkDerivation rec { pname = "micromamba"; version = "1.2.0"; src = fetchFromGitHub { owner = "mamba-org"; repo = "mamba"; rev = "micromamba-" + version; sha256 = "sha256-KGlH5i/lI6c1Jj1ttAOrip8BKECaea5D202TJMcFDmM="; }; nativeBuildInputs = [ cmake ]; buildInputs = [ bzip2 cli11 nlohmann_json curl libarchive libyamlcpp libsolv' reproc spdlog' termcolor ghc_filesystem python3 tl-expected fmt_9 ]; cmakeFlags = [ "-DBUILD_LIBMAMBA=ON" "-DBUILD_SHARED=ON" "-DBUILD_MICROMAMBA=ON" # "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" ]; meta = with lib; { description = "Reimplementation of the conda package manager"; homepage = "https://github.com/mamba-org/mamba"; license = licenses.bsd3; platforms = platforms.all; maintainers = with maintainers; [ mausch ]; }; } micromamba 1.0.0 -> 1.2.0 https://repology.org/metapackage/micromamba/versions attrpath: micromamba Checking auto update branch... No auto update branch exists Old version 1.0.0" not present in master derivation file with contents: { lib , stdenv , fetchFromGitHub , fetchpatch , bzip2 , cli11 , cmake , curl , ghc_filesystem , libarchive , libsolv , libyamlcpp , nlohmann_json , python3 , reproc , spdlog , termcolor , tl-expected , fmt_9 }: let libsolv' = libsolv.overrideAttrs (oldAttrs: { cmakeFlags = oldAttrs.cmakeFlags ++ [ "-DENABLE_CONDA=true" ]; patches = [ # Apply the same patch as in the "official" boa-forge build: # https://github.com/mamba-org/boa-forge/tree/master/libsolv (fetchpatch { url = "https://raw.githubusercontent.com/mamba-org/boa-forge/20530f80e2e15012078d058803b6e2c75ed54224/libsolv/conda_variant_priorization.patch"; sha256 = "1iic0yx7h8s662hi2jqx68w5kpyrab4fr017vxd4wyxb6wyk35dd"; }) ]; }); spdlog' = spdlog.overrideAttrs (oldAttrs: { # Use as header-only library. # # Spdlog 1.11 requires fmt version 8 while micromamba requires # version 9. spdlog may use its bundled version of fmt, # though. Micromamba is not calling spdlog functions with # fmt-types in their signature. I.e. we get away with removing # fmt_8 from spdlog's propagated dependencies and using fmt_9 for # micromamba itself. dontBuild = true; cmakeFlags = oldAttrs.cmakeFlags ++ [ "-DSPDLOG_FMT_EXTERNAL=OFF" ]; propagatedBuildInputs = []; }); in stdenv.mkDerivation rec { pname = "micromamba"; version = "1.2.0"; src = fetchFromGitHub { owner = "mamba-org"; repo = "mamba"; rev = "micromamba-" + version; sha256 = "sha256-KGlH5i/lI6c1Jj1ttAOrip8BKECaea5D202TJMcFDmM="; }; nativeBuildInputs = [ cmake ]; buildInputs = [ bzip2 cli11 nlohmann_json curl libarchive libyamlcpp libsolv' reproc spdlog' termcolor ghc_filesystem python3 tl-expected fmt_9 ]; cmakeFlags = [ "-DBUILD_LIBMAMBA=ON" "-DBUILD_SHARED=ON" "-DBUILD_MICROMAMBA=ON" # "-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON" ]; meta = with lib; { description = "Reimplementation of the conda package manager"; homepage = "https://github.com/mamba-org/mamba"; license = licenses.bsd3; platforms = platforms.all; maintainers = with maintainers; [ mausch ]; }; }