Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "aiotedee";
11 version = "0.2.25";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "zweckj";
16 repo = "aiotedee";
17 tag = "v${version}";
18 hash = "sha256-xVZrXKJXQd+Jklka+LGA/q+vgQqsVH+prboM6G3CWWg=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 pythonImportsCheck = [ "aiotedee" ];
26
27 # Module has no tests
28 doCheck = false;
29
30 meta = {
31 description = "Module to interact with Tedee locks";
32 homepage = "https://github.com/zweckj/aiotedee";
33 changelog = "https://github.com/zweckj/aiotedee/releases/tag/${src.tag}";
34 license = lib.licenses.mit;
35 maintainers = with lib.maintainers; [ fab ];
36 };
37}