summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/goslide-api/default.nix
blob: 008eb0ea3ab5c9f0e9a493598dbbfe3bd9878678 (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
{
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  lib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "goslide-api";
  version = "0.7.4";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "ualex73";
    repo = "goslide-api";
    tag = version;
    hash = "sha256-Z3+GijoI+351zV7IpLSBQu6LE2OhhXho4ygNMVbg2xs=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  pythonImportsCheck = [ "goslideapi" ];

  # upstream has no tests
  doCheck = false;

  meta = {
    description = "Python API to utilise the Slide Open Cloud and Local API";
    homepage = "https://github.com/ualex73/goslide-api";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}