blob: 4cc4a8247a8406420a6b9fe6c4abec3c52e47173 (
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
45
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pycognito,
pytestCheckHook,
requests,
setuptools,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pyschlage";
version = "2025.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dknowles2";
repo = "pyschlage";
tag = version;
hash = "sha256-ROLtRN/J6LdL67CQ/Ui60RLMLNStb1CZlvQGt8xerOA=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
pycognito
requests
];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "pyschlage" ];
meta = {
description = "Library for interacting with Schlage Encode WiFi locks";
homepage = "https://github.com/dknowles2/pyschlage";
changelog = "https://github.com/dknowles2/pyschlage/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ fab ];
};
}
|