nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 38 lines 708 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cryptography, 5 fetchPypi, 6 poetry-core, 7 setuptools, 8}: 9 10buildPythonPackage rec { 11 pname = "lc7001"; 12 version = "1.0.5"; 13 pyproject = true; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-I4I3vwW1kJsgLFPMGpe9hkD3iEeC3AqI4pCi6SCWPx4="; 18 }; 19 20 nativeBuildInputs = [ 21 poetry-core 22 setuptools 23 ]; 24 25 propagatedBuildInputs = [ cryptography ]; 26 27 # Project has no tests 28 doCheck = false; 29 30 pythonImportsCheck = [ "lc7001" ]; 31 32 meta = { 33 description = "Python module for interacting with Legrand LC7001"; 34 homepage = "https://github.com/rtyle/lc7001"; 35 license = lib.licenses.mit; 36 maintainers = with lib.maintainers; [ fab ]; 37 }; 38}