Skip to content

Commit

Permalink
added miniforge
Browse files Browse the repository at this point in the history
  • Loading branch information
qxrein committed Dec 26, 2024
1 parent 1557114 commit 63d2c3f
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/development/python-modules/miniforge/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib
, stdenv
, fetchFromGitHub
, python3
, conda
}:

stdenv.mkDerivation rec {
pname = "miniforge";
version = "24.11.0-0";

src = fetchFromGitHub {
owner = "conda-forge";
repo = "miniforge";
rev = version;
sha256 = "sha256-Mtw0TI5LWv7aC2kCx7EStYXEUa9J3xTwUPpN/z9GvAQ="; # Will be provided by nix-build error
};

buildInputs = [
python3
conda
];

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

meta = with lib; {
description = "A conda-forge distribution with mamba 1.5.11";
homepage = "https://github.com/conda-forge/miniforge";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ ]; # Add your maintainer handle after PR to nixpkgs-maintainers
};
}

0 comments on commit 63d2c3f

Please sign in to comment.