Merge pull request #259013 from bcdarwin/init-python-hl7

python310Packages.python-hl7: init at 0.4.5
This commit is contained in:
Mario Rodas 2023-10-08 15:21:03 -05:00 committed by GitHub
commit 4befebc9b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{ 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 ];
};
}

View File

@ -9191,6 +9191,8 @@ self: super: with self; {
python-heatclient = callPackage ../development/python-modules/python-heatclient { };
python-hl7 = callPackage ../development/python-modules/python-hl7 { };
python-ipmi = callPackage ../development/python-modules/python-ipmi { };
python-ipware = callPackage ../development/python-modules/python-ipware { };