mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
31 lines
642 B
Nix
31 lines
642 B
Nix
{ 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
|
|
};
|
|
}
|