Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 765 B view raw
1{ lib 2, buildPythonPackage 3, cryptography 4, fetchPypi 5, pythonOlder 6, poetry-core 7, setuptools 8}: 9 10buildPythonPackage rec { 11 pname = "lc7001"; 12 version = "1.0.5"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.8"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-I4I3vwW1kJsgLFPMGpe9hkD3iEeC3AqI4pCi6SCWPx4="; 20 }; 21 22 nativeBuildInputs = [ 23 poetry-core 24 setuptools 25 ]; 26 27 propagatedBuildInputs = [ 28 cryptography 29 ]; 30 31 # Project has no tests 32 doCheck = false; 33 34 pythonImportsCheck = [ 35 "lc7001" 36 ]; 37 38 meta = with lib; { 39 description = "Python module for interacting with Legrand LC7001"; 40 homepage = "https://github.com/rtyle/lc7001"; 41 license = licenses.mit; 42 maintainers = with maintainers; [ fab ]; 43 }; 44}