summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pymee/default.nix
blob: 6d356ac33a0f5462ac6b8137381e9bc16bfbb51a (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  aiohttp,
  websockets,
  regex,
}:

buildPythonPackage (finalAttrs: {
  pname = "pymee";
  version = "2.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "FreshlyBrewedCode";
    repo = "pymee";
    tag = "v${finalAttrs.version}";
    hash = "sha256-VNKIA/1juhkn11nkW52htvE4daXJoySeEyevWbboUek=";
  };

  build-system = [ setuptools ];
  dependencies = [
    aiohttp
    websockets
    regex
  ];

  pythonImportsCheck = [ "pymee" ];

  # no tests
  doCheck = false;

  meta = {
    description = "Python library to interact with homee";
    homepage = "https://github.com/FreshlyBrewedCode/pymee";
    changelog = "https://github.com/FreshlyBrewedCode/pymee/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ sigmanificient ];
  };
})