python3Packages.cmsdials: init at 1.2.0

Co-authored-by: OTABI Tomoya <tomoya.otabi@gmail.com>
This commit is contained in:
Yueh-Shun Li
2024-08-09 23:37:57 +08:00
co-authored by OTABI Tomoya
parent 09db61de02
commit c55eb12ca4
2 changed files with 55 additions and 0 deletions
@@ -0,0 +1,53 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
requests,
typing-extensions,
pandas,
tqdm,
}:
buildPythonPackage rec {
pname = "cmsdials";
version = "1.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cms-DQM";
repo = "dials-py";
rev = "v${version}";
hash = "sha256-664FvPdZFU5eTcMadnHfs0ZeiKqTH+Gy2bnhIFQxU2o=";
};
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 = with lib; {
description = "Python API client interface to CMS DIALS service";
homepage = "https://github.com/cms-DQM/dials-py";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ShamrockLee ];
};
}
+2
View File
@@ -2375,6 +2375,8 @@ self: super: with self; {
inherit (pkgs) cmigemo;
};
cmsdials = callPackage ../development/python-modules/cmsdials { };
cmsis-pack-manager = callPackage ../development/python-modules/cmsis-pack-manager { };
cmsis-svd = callPackage ../development/python-modules/cmsis-svd { };