at master 873 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 poetry-core, 6 pynacl, 7 pythonOlder, 8 requests, 9}: 10 11buildPythonPackage rec { 12 pname = "pynuki"; 13 version = "1.6.3"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "pschmitt"; 20 repo = "pynuki"; 21 tag = version; 22 hash = "sha256-PF5FmAuPcJXq8gQ8HyzdtL2HiiUjueT+LAS1lYRvrwM="; 23 }; 24 25 nativeBuildInputs = [ poetry-core ]; 26 27 propagatedBuildInputs = [ 28 pynacl 29 requests 30 ]; 31 32 # Project has no tests 33 doCheck = false; 34 35 pythonImportsCheck = [ "pynuki" ]; 36 37 meta = with lib; { 38 description = "Python bindings for nuki.io bridges"; 39 homepage = "https://github.com/pschmitt/pynuki"; 40 changelog = "https://github.com/pschmitt/pynuki/releases/tag/${version}"; 41 license = with licenses; [ gpl3Only ]; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}