Commit 5d3dca8f authored by Jamie Magee's avatar Jamie Magee
Browse files

python3Packages.ekey-bionyxpy: init at 1.0.0

parent 1015e2f7
Loading
Loading
Loading
Loading
+46 −0
Original line number Diff line number Diff line
{
  lib,
  aiohttp,
  aioresponses,
  buildPythonPackage,
  fetchFromGitHub,
  pytest-asyncio,
  pytestCheckHook,
  pythonOlder,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ekey-bionyxpy";
  version = "1.0.0";
  pyproject = true;

  disabled = pythonOlder "3.11";

  src = fetchFromGitHub {
    owner = "richardpolzer";
    repo = "ekey-bionyx-api";
    tag = version;
    hash = "sha256-wKgIQp+E1fzOrp2Xx14RXvtxQMOb0rFkI55q2Rw+JNg=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  nativeCheckInputs = [
    aioresponses
    pytest-asyncio
    pytestCheckHook
  ];

  pythonImportsCheck = [ "ekey_bionyxpy" ];

  meta = {
    description = "Interact with the bionyx third party API of the ekey biometric systems";
    homepage = "https://github.com/richardpolzer/ekey-bionyx-api";
    changelog = "https://github.com/richardpolzer/ekey-bionyx-api/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = [ ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -4733,6 +4733,8 @@ self: super: with self; {
  eiswarnung = callPackage ../development/python-modules/eiswarnung { };
  ekey-bionyxpy = callPackage ../development/python-modules/ekey-bionyxpy { };
  elastic-apm = callPackage ../development/python-modules/elastic-apm { };
  elastic-transport = callPackage ../development/python-modules/elastic-transport { };