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