Merge pull request #326255 from ShamrockLee/cmsdials-client
python3Packages.cmsdials: init at 1.2.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user