fluffychat: 1.22.1 -> 1.23.0 (#364091)
[NixPkgs.git] / pkgs / development / python-modules / python-hl7 / default.nix
blobb194bd7ca38bcc73452a5f5ac3f0aea602b073a7
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   pythonOlder,
6   pytestCheckHook,
7   setuptools,
8 }:
10 buildPythonPackage rec {
11   pname = "python-hl7";
12   version = "0.4.5";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "johnpaulett";
19     repo = "python-hl7";
20     rev = "refs/tags/${version}";
21     hash = "sha256-9uFdyL4+9KSWXflyOMOeUudZTv4NwYPa0ADNTmuVbqo=";
22   };
24   nativeBuildInputs = [ setuptools ];
26   nativeCheckInputs = [ pytestCheckHook ];
28   pythonImportsCheck = [ "hl7" ];
30   meta = with lib; {
31     description = "Simple library for parsing messages of Health Level 7 (HL7) version 2.x into Python objects";
32     mainProgram = "mllp_send";
33     homepage = "https://python-hl7.readthedocs.org";
34     changelog = "https://python-hl7.readthedocs.io/en/latest/changelog.html";
35     license = licenses.bsd3;
36     maintainers = with maintainers; [ bcdarwin ];
37   };