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