2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
libmambapy,
|
|
|
|
hatchling,
|
|
|
|
hatch-vcs,
|
|
|
|
boltons,
|
|
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "conda-libmamba-solver";
|
2024-07-31 10:19:44 +00:00
|
|
|
version = "24.7.0";
|
2024-05-15 15:35:15 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit pname version;
|
|
|
|
owner = "conda";
|
|
|
|
repo = "conda-libmamba-solver";
|
2024-07-31 10:19:44 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-HBbApS6hyIbRyxOpOwbC1+IalIYk17rYRo6HLcwKKW4=";
|
2024-05-15 15:35:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
build-system = [
|
|
|
|
hatchling
|
|
|
|
hatch-vcs
|
|
|
|
];
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
boltons
|
|
|
|
libmambapy
|
|
|
|
];
|
|
|
|
|
|
|
|
# this package depends on conda for the import to run succesfully, but conda depends on this package to execute.
|
|
|
|
# pythonImportsCheck = [ "conda_libmamba_solver" ];
|
|
|
|
|
|
|
|
pythonRemoveDeps = [ "conda" ];
|
|
|
|
|
|
|
|
meta = {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Libmamba based solver for conda";
|
2024-05-15 15:35:15 +00:00
|
|
|
homepage = "https://github.com/conda/conda-libmamba-solver";
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [ lib.maintainers.ericthemagician ];
|
|
|
|
};
|
|
|
|
}
|