summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pythinkingcleaner/default.nix
blob: c729f19aadd76b1f2e824ede5c654ed039222c7f (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pythinkingcleaner";
  version = "0.0.3";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "TheRealLink";
    repo = "pythinkingcleaner";
    tag = version;
    hash = "sha256-YaHBZwJvgI3uFkFtZ4KWrKKGRPuNhBBrhCvGC65Jsks=";
  };

  build-system = [ setuptools ];

  dependencies = [ requests ];

  # Package has no tests
  doCheck = false;

  pythonImportsCheck = [ "pythinkingcleaner" ];

  meta = {
    description = "Library to control ThinkingCleaner devices";
    homepage = "https://github.com/TheRealLink/pythinkingcleaner";
    changelog = "https://github.com/TheRealLink/pythinkingcleaner/releases/tag/${version}";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}