1{ 2 lib, 3 buildPythonPackage, 4 pythonRelaxDepsHook, 5 fetchFromGitHub, 6 libmambapy, 7 hatchling, 8 hatch-vcs, 9 boltons, 10}: 11buildPythonPackage rec { 12 pname = "conda-libmamba-solver"; 13 version = "24.1.0"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 inherit pname version; 18 owner = "conda"; 19 repo = "conda-libmamba-solver"; 20 rev = version; 21 hash = "sha256-vsUYrDVNMKHd3mlaAFYCP4uPQ9HxeKsose5O8InaMcE="; 22 }; 23 24 nativeBuildInputs = [ pythonRelaxDepsHook ]; 25 26 build-system = [ 27 hatchling 28 hatch-vcs 29 ]; 30 31 dependencies = [ 32 boltons 33 libmambapy 34 ]; 35 36 # this package depends on conda for the import to run succesfully, but conda depends on this package to execute. 37 # pythonImportsCheck = [ "conda_libmamba_solver" ]; 38 39 pythonRemoveDeps = [ "conda" ]; 40 41 meta = { 42 description = "The libmamba based solver for conda."; 43 homepage = "https://github.com/conda/conda-libmamba-solver"; 44 license = lib.licenses.bsd3; 45 maintainers = [ lib.maintainers.ericthemagician ]; 46 }; 47}