blob: d9de33f4489fd69129b474fe454b8981867ed081 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
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";
tag = "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 ];
};
}
|