Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miniforge: added default.nix #368381

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
31 changes: 31 additions & 0 deletions pkgs/development/python-modules/miniforge/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{ lib, stdenv, fetchFromGitHub, python3, conda }:

stdenv.mkDerivation rec {
qxrein marked this conversation as resolved.
Show resolved Hide resolved
pname = "miniforge";
version = "24.11.0-0";

src = fetchFromGitHub {
owner = "conda-forge";
repo = "miniforge";
rev = version;
sha256 =
"sha256-Mtw0TI5LWv7aC2kCx7EStYXEUa9J3xTwUPpN/z9GvAQ=";
qxrein marked this conversation as resolved.
Show resolved Hide resolved
};

buildInputs = [ python3 conda ];

installPhase = ''
mkdir -p $out/bin
cp -r * $out/
ln -s $out/miniforge3/bin/conda $out/bin/miniforge-conda
'';

meta = with lib; {
qxrein marked this conversation as resolved.
Show resolved Hide resolved
description = "A conda-forge distribution with mamba 1.5.11";
qxrein marked this conversation as resolved.
Show resolved Hide resolved
homepage = "https://github.com/conda-forge/miniforge";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers;
[ ];
qxrein marked this conversation as resolved.
Show resolved Hide resolved
};
}
Loading