tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / development / python-modules / pyorthanc / default.nix
bloba65d8d6b983bd41336d484d359feccfa70205b7c
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   poetry-core,
7   httpx,
8   pydicom,
9 }:
11 buildPythonPackage rec {
12   pname = "pyorthanc";
13   version = "1.18.0";
14   disabled = pythonOlder "3.8";
16   pyproject = true;
18   src = fetchFromGitHub {
19     owner = "gacou54";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-ObZjTiEB4a7ForsugzKZDdIsTEWOX1zbv53ZJ4AllHE=";
23   };
25   build-system = [ poetry-core ];
27   dependencies = [
28     httpx
29     pydicom
30   ];
32   doCheck = false; # requires orthanc server (not in Nixpkgs)
34   pythonImportsCheck = [ "pyorthanc" ];
36   meta = with lib; {
37     description = "Python library that wraps the Orthanc REST API";
38     homepage = "https://github.com/gacou54/pyorthanc";
39     changelog = "https://github.com/gacou54/pyorthanc/releases/tag/v${version}";
40     license = licenses.mit;
41     maintainers = with maintainers; [ bcdarwin ];
42   };