1{
2 lib,
3 stdenv,
4 buildPythonPackage,
5 fetchPypi,
6 pytestCheckHook,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "pebble";
12 version = "5.0.7";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 pname = "Pebble";
19 inherit version;
20 hash = "sha256-J4TBR3ZvBjiM6nhAhLFL7JP9uqeTgw8ZgxVaozCipuQ=";
21 };
22
23 nativeCheckInputs = [ pytestCheckHook ];
24
25 doCheck = !stdenv.isDarwin;
26
27 pythonImportsCheck = [ "pebble" ];
28
29 meta = with lib; {
30 description = "API to manage threads and processes within an application";
31 homepage = "https://github.com/noxdafox/pebble";
32 changelog = "https://github.com/noxdafox/pebble/releases/tag/${version}";
33 license = licenses.lgpl3Plus;
34 maintainers = with maintainers; [ orivej ];
35 };
36}