Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
922 B · 42 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243{ lib, buildPythonPackage, fetchFromGitHub, pythonOlder, pytestCheckHook, poetry-core, httpx, pydicom}:
buildPythonPackage rec { pname = "pyorthanc"; version = "1.11.5"; disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchFromGitHub { owner = "gacou54"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-RZJ7BuQRJ+yaHFv9iq4uFvMtH8NvGvmpjmgmyvw9rGk="; };
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"; changelog = "https://github.com/gacou54/pyorthanc/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; };}