Skip to content

Commit

Permalink
pimsync: init at 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
qxrein committed Jan 1, 2025
1 parent 1c5eed9 commit fdc29c0
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/by-name/pi/pimsync/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
stdenv,
fetchFromGitHub,
python3,
conda,
}:

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

src = fetchFromGitHub {
owner = "conda-forge";
repo = "miniforge";
rev = version;
hash = "sha256-Mtw0TI5LWv7aC2kCx7EStYXEUa9J3xTwUPpN/z9GvAQ=";
};

buildInputs = [
python3
conda
];

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

meta = {
description = "Conda-forge distribution with mamba";
homepage = "https://github.com/conda-forge/miniforge";
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
maintainers = [ lib.maintainers.qxrein ];
};
}

0 comments on commit fdc29c0

Please sign in to comment.