summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/apeye-core/default.nix
blob: afbf6562e69f211c956f6467e75515d36af93c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  buildPythonPackage,
  fetchPypi,
  lib,
  hatchling,
  hatch-requirements-txt,
  domdf-python-tools,
  idna,
}:
buildPythonPackage rec {
  pname = "apeye-core";
  version = "1.1.5";
  pyproject = true;

  src = fetchPypi {
    inherit version;
    pname = "apeye_core";
    hash = "sha256-Xecu09AMybIP6lXlS3q49e+FAOszpTaLwWKlWF4jilU=";
  };

  build-system = [ hatchling ];

  nativeBuildInputs = [
    hatch-requirements-txt
  ];

  dependencies = [
    domdf-python-tools
    idna
  ];

  meta = {
    description = "Core (offline) functionality for the apeye library";
    homepage = "https://github.com/domdfcoding/apyey-core";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ tyberius-prime ];
  };
}