Commit 381bfca3 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python312Packages.conda-inject: init at 1.3.2

parent f0ce7ff0
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,

  # build-system
  poetry-core,

  # dependencies
  pyyaml,
}:

buildPythonPackage rec {
  pname = "conda-inject";
  version = "1.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "koesterlab";
    repo = "conda-inject";
    rev = "refs/tags/v${version}";
    hash = "sha256-M4+bz7ZuHlcF8tF5kSCUjjkIHG75eCCW1IJxcwxNL6o=";
  };

  build-system = [
    poetry-core
  ];

  dependencies = [
    pyyaml
  ];

  pythonImportsCheck = [
    "conda_inject"
  ];

  # no tests
  doCheck = false;

  meta = {
    description = "Helper functions for injecting a conda environment into the current python environment";
    homepage = "https://github.com/koesterlab/conda-inject";
    changelog = "https://github.com/koesterlab/conda-inject/blob/${src.rev}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -2514,6 +2514,8 @@ self: super: with self; {
  conda = callPackage ../development/python-modules/conda { };
  conda-inject = callPackage ../development/python-modules/conda-inject { };
  conda-libmamba-solver = callPackage ../development/python-modules/conda-libmamba-solver { };
  conda-package-handling = callPackage ../development/python-modules/conda-package-handling { };