nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 32 lines 618 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, ifaddr 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "pywilight"; 10 version = "0.0.68"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "1s1xyw5hkfr4rlni1p9z4941pp1740fsg4a3b23a618hv2p1i4ww"; 15 }; 16 17 propagatedBuildInputs = [ 18 ifaddr 19 requests 20 ]; 21 22 # no tests are present 23 doCheck = false; 24 pythonImportsCheck = [ "pywilight" ]; 25 26 meta = with lib; { 27 description = "Python API for WiLight device"; 28 homepage = "https://github.com/leofig-rj/pywilight"; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}