Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5}: 6buildPythonPackage rec { 7 pname = "anel-pwrctrl-homeassistant"; 8 version = "0.0.1.dev2"; 9 format = "setuptools"; 10 11 src = fetchPypi { 12 inherit version; 13 pname = "anel_pwrctrl-homeassistant"; 14 hash = "sha256-AcsnYD9CeGAarm5QdweUF6CUFwUywhfmU46NG8+Cm4s="; 15 }; 16 17 # No tests 18 doCheck = false; 19 20 pythonImportsCheck = [ 21 "anel_pwrctrl" 22 ]; 23 24 meta = with lib; { 25 description = "Discover and control ANEL NET-PwrCtrl devices"; 26 homepage = "https://github.com/mweinelt/anel-pwrctrl"; 27 license = licenses.mit; 28 maintainers = with maintainers; [jamiemagee]; 29 }; 30}