1{ lib 2, buildPythonPackage 3, pythonAtLeast 4, fetchPypi 5, pycosat 6, requests 7, ruamel-yaml 8, isPy3k 9, enum34 10}: 11 12# Note: this installs conda as a library. The application cannot be used. 13# This is likely therefore NOT what you're looking for. 14 15buildPythonPackage rec { 16 pname = "conda"; 17 version = "4.3.16"; 18 19 # this is a very outdated version of conda that isn't compatible with python 3.10+ 20 disabled = pythonAtLeast "3.10"; 21 22 src = fetchPypi { 23 inherit pname version; 24 sha256 = "a91ef821343dea3ba9670f3d10b36c1ace4f4c36d70c175d8fc8886e94285953"; 25 }; 26 27 propagatedBuildInputs = [ pycosat requests ruamel-yaml ] ++ lib.optional (!isPy3k) enum34; 28 29 # No tests 30 doCheck = false; 31 32 meta = { 33 description = "OS-agnostic, system-level binary package manager"; 34 homepage = "https://github.com/conda/conda"; 35 license = lib.licenses.bsd3; 36 }; 37}