mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #215384 from bcdarwin/pyorthanc
python310Packages.pyorthanc: init at 1.11.4
This commit is contained in:
commit
2ea3ab5e87
41
pkgs/development/python-modules/pyorthanc/default.nix
Normal file
41
pkgs/development/python-modules/pyorthanc/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, pytestCheckHook
|
||||
, poetry-core
|
||||
, httpx
|
||||
, pydicom
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyorthanc";
|
||||
version = "1.11.4";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "gacou54";
|
||||
repo = pname;
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-HbNeI6KpdIoLwRx09qQGJ/iJGKnRj0Z4/mkgoXhofGA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
propagatedBuildInputs = [ httpx pydicom ];
|
||||
|
||||
doCheck = false; # requires orthanc server (not in Nixpkgs)
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyorthanc"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library that wraps the Orthanc REST API";
|
||||
homepage = "https://github.com/gacou54/pyorthanc";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ bcdarwin ];
|
||||
};
|
||||
}
|
@ -7254,6 +7254,8 @@ self: super: with self; {
|
||||
|
||||
pynx584 = callPackage ../development/python-modules/pynx584 { };
|
||||
|
||||
pyorthanc = callPackage ../development/python-modules/pyorthanc { };
|
||||
|
||||
pyoverkiz = callPackage ../development/python-modules/pyoverkiz { };
|
||||
|
||||
pyownet = callPackage ../development/python-modules/pyownet { };
|
||||
|
Loading…
Reference in New Issue
Block a user