From c00cce69f6e35955a9798a18c0bc38a89391823d Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Thu, 12 Dec 2024 12:06:42 +0000 Subject: [PATCH] python312Packages.pebble: 5.0.7 -> 5.1.0 --- .../python-modules/pebble/default.nix | 28 +++++++++++-------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/pebble/default.nix b/pkgs/development/python-modules/pebble/default.nix index ea618df3293f..abefc287323d 100644 --- a/pkgs/development/python-modules/pebble/default.nix +++ b/pkgs/development/python-modules/pebble/default.nix @@ -2,35 +2,41 @@ lib, stdenv, buildPythonPackage, - fetchPypi, + fetchFromGitHub, pytestCheckHook, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pebble"; - version = "5.0.7"; - format = "setuptools"; + version = "5.1.0"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; - src = fetchPypi { - pname = "Pebble"; - inherit version; - hash = "sha256-J4TBR3ZvBjiM6nhAhLFL7JP9uqeTgw8ZgxVaozCipuQ="; + src = fetchFromGitHub { + owner = "noxdafox"; + repo = "pebble"; + tag = version; + hash = "sha256-Y6E+Mu5Ch+VTHryTY3pvHQD6GzaTLrtf78DqUWa7nt0="; }; + build-system = [ + setuptools + ]; + nativeCheckInputs = [ pytestCheckHook ]; doCheck = !stdenv.hostPlatform.isDarwin; pythonImportsCheck = [ "pebble" ]; - meta = with lib; { + meta = { description = "API to manage threads and processes within an application"; homepage = "https://github.com/noxdafox/pebble"; changelog = "https://github.com/noxdafox/pebble/releases/tag/${version}"; - license = licenses.lgpl3Plus; - maintainers = with maintainers; [ orivej ]; + license = lib.licenses.lgpl3Plus; + maintainers = with lib.maintainers; [ orivej ]; }; }