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