blob: 67dd98c37ed765738bb49f440a330c6db9df574a (
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
48
49
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
requests,
typing-extensions,
pandas,
tqdm,
}:
buildPythonPackage rec {
pname = "cmsdials";
version = "1.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cms-DQM";
repo = "dials-py";
tag = "v${version}";
hash = "sha256-bYFADE6Fi0hQ0IaaeN3RhtPPQwWqhhRbNyGOUPLksp4=";
};
build-system = [ poetry-core ];
dependencies = [
pydantic
requests
typing-extensions
];
optional-dependencies = {
pandas = [ pandas ];
tqdm = [ tqdm ];
};
pythonRelaxDeps = [
# pydantic = "<2, >=1"pydantic = "<2, >=1"
"pydantic"
# typing-extensions = "<4.6.0, >=3.6.6"
"typing-extensions"
];
pythonImportsCheck = [ "cmsdials" ];
meta = {
description = "Python API client interface to CMS DIALS service";
homepage = "https://github.com/cms-DQM/dials-py";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ ShamrockLee ];
};
}
|