10 buildPythonPackage rec {
15 disabled = pythonOlder "3.7";
17 src = fetchFromGitHub {
18 owner = "remcohaszing";
20 rev = "refs/tags/${version}";
21 hash = "sha256-VPdklyD3GVn0cex4I6zV61I0bUr4KQp8DdMKAM/r4io=";
24 nativeBuildInputs = [ poetry-core ];
26 nativeCheckInputs = [ pytestCheckHook ];
28 pytestFlagsArray = [ "test_wakeonlan.py" ];
30 pythonImportsCheck = [ "wakeonlan" ];
33 description = "Python module for wake on lan";
34 mainProgram = "wakeonlan";
35 homepage = "https://github.com/remcohaszing/pywakeonlan";
36 changelog = "https://github.com/remcohaszing/pywakeonlan/releases/tag/${version}";
37 license = licenses.mit;
38 maintainers = with maintainers; [ peterhoeg ];