python312Packages.pebble: 5.0.7 -> 5.1.0 (#364575)

This commit is contained in:
Nick Cao
2024-12-13 17:51:53 -05:00
committed by GitHub
@@ -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 ];
};
}