summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/skyboxremote/default.nix
blob: a311e22c7d43e3305a5f2152eda4059d5ba2a42f (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
39
40
41
42
43
44
{
  lib,
  buildPythonPackage,
  fetchPypi,
  flit-core,
  pyspark,
  pytest-cov-stub,
  pytest-mock,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "skyboxremote";
  version = "0.0.6";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-GgRUMGnU91UQm9LNctYhHfRmfFujfc8fXc9KSwLrNBM=";
  };

  build-system = [ flit-core ];

  optional-dependencies = {
    spark = [
      pyspark
    ];
  };

  nativeCheckInputs = [
    pytest-cov-stub
    pytest-mock
    pytestCheckHook
  ];

  pythonImportsCheck = [ "skyboxremote" ];

  meta = {
    description = "Module for controlling a sky box";
    homepage = "https://pypi.org/project/skyboxremote/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}