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