Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697{ lib, buildPythonPackage, stdenv, fetchFromGitHub, # build dependencies hatchling, hatch-vcs, # runtime dependencies archspec, conda-libmamba-solver, conda-package-handling, distro, frozendict, jsonpatch, packaging, platformdirs, pluggy, pycosat, requests, ruamel-yaml, tqdm, truststore, # runtime options defaultEnvPath ? "~/.conda/envs", # default path to store conda environments defaultPkgPath ? "~/.conda/pkgs", # default path to store download conda packages}:buildPythonPackage rec { __structuredAttrs = true; pname = "conda"; version = "26.9.4"; pyproject = true;
src = fetchFromGitHub { inherit pname version; owner = "conda"; repo = "conda"; tag = version; hash = "sha256-Wc/hAhazJu8xfqp1p+wlpQXkFlybefbfom0Rkc7JV2M="; };
build-system = [ hatchling hatch-vcs ];
pythonRelaxDeps = [ "certifi" "ruamel-yaml" ];
dependencies = [ archspec conda-libmamba-solver conda-package-handling distro frozendict jsonpatch packaging platformdirs pluggy pycosat requests ruamel-yaml tqdm truststore ];
patches = [ ./0001-conda_exe.patch ];
makeWrapperArgs = [ "--set" "CONDA_EXE" "${placeholder "out"}/bin/conda"
"--set-default" "CONDA_ENVS_PATH" defaultEnvPath
"--set-default" "CONDA_PKGS_DIRS" defaultPkgPath ];
pythonImportsCheck = [ "conda" ];
# menuinst is currently not packaged pythonRemoveDeps = lib.optionals (!stdenv.hostPlatform.isWindows) [ "menuinst" ];
meta = { description = "OS-agnostic, system-level binary package manager"; homepage = "https://github.com/conda/conda"; license = lib.licenses.bsd3; maintainers = [ lib.maintainers.ericthemagician ]; };}