mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
32 lines
685 B
Nix
32 lines
685 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "appnope";
|
|
version = "0.1.4";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "minrk";
|
|
repo = "appnope";
|
|
rev = version;
|
|
hash = "sha256-We7sZKVbQFIMdZpS+VMdi0RH1O/qtFNrfJNg/98tO5A=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
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
|
|
};
|
|
}
|