at master 878 B view raw
1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 fetchFromGitHub, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9}: 10 11buildPythonPackage rec { 12 pname = "pebble"; 13 version = "5.1.3"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchFromGitHub { 19 owner = "noxdafox"; 20 repo = "pebble"; 21 tag = version; 22 hash = "sha256-17kAIvHI2/6p8Chm7pTkLWP+QcnIcARpH+OBVerbefQ="; 23 }; 24 25 build-system = [ 26 setuptools 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 doCheck = !stdenv.hostPlatform.isDarwin; 32 33 pythonImportsCheck = [ "pebble" ]; 34 35 meta = { 36 description = "API to manage threads and processes within an application"; 37 homepage = "https://github.com/noxdafox/pebble"; 38 changelog = "https://github.com/noxdafox/pebble/releases/tag/${src.tag}"; 39 license = lib.licenses.lgpl3Plus; 40 maintainers = with lib.maintainers; [ orivej ]; 41 }; 42}