nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 45 lines 901 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pycognito, 6 pytestCheckHook, 7 requests, 8 setuptools, 9 setuptools-scm, 10}: 11 12buildPythonPackage rec { 13 pname = "pyschlage"; 14 version = "2025.9.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "dknowles2"; 19 repo = "pyschlage"; 20 tag = version; 21 hash = "sha256-ROLtRN/J6LdL67CQ/Ui60RLMLNStb1CZlvQGt8xerOA="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ 30 pycognito 31 requests 32 ]; 33 34 nativeCheckInputs = [ pytestCheckHook ]; 35 36 pythonImportsCheck = [ "pyschlage" ]; 37 38 meta = { 39 description = "Library for interacting with Schlage Encode WiFi locks"; 40 homepage = "https://github.com/dknowles2/pyschlage"; 41 changelog = "https://github.com/dknowles2/pyschlage/releases/tag/${src.tag}"; 42 license = lib.licenses.asl20; 43 maintainers = with lib.maintainers; [ fab ]; 44 }; 45}