5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
36 lines
873 B
Nix
36 lines
873 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pythonOlder
|
|
, pytestCheckHook
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-hl7";
|
|
version = "0.4.5";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "johnpaulett";
|
|
repo = "python-hl7";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-9uFdyL4+9KSWXflyOMOeUudZTv4NwYPa0ADNTmuVbqo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "hl7" ];
|
|
|
|
meta = with lib; {
|
|
description = "A simple library for parsing messages of Health Level 7 (HL7) version 2.x into Python objects";
|
|
homepage = "https://python-hl7.readthedocs.org";
|
|
changelog = "https://python-hl7.readthedocs.io/en/latest/changelog.html";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ bcdarwin ];
|
|
};
|
|
}
|