at master 642 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "appnope"; 10 version = "0.1.4"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "minrk"; 15 repo = "appnope"; 16 rev = version; 17 hash = "sha256-We7sZKVbQFIMdZpS+VMdi0RH1O/qtFNrfJNg/98tO5A="; 18 }; 19 20 checkInputs = [ pytestCheckHook ]; 21 22 meta = { 23 description = "Disable App Nap on macOS"; 24 homepage = "https://github.com/minrk/appnope"; 25 license = lib.licenses.bsd3; 26 maintainers = with lib.maintainers; [ OPNA2608 ]; 27 # Not Darwin-specific because dummy fallback may be used cross-platform 28 }; 29}