depot/third_party/nixpkgs/pkgs/development/python-modules/pebble/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

36 lines
798 B
Nix

{
lib,
stdenv,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "pebble";
version = "5.0.7";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Pebble";
inherit version;
hash = "sha256-J4TBR3ZvBjiM6nhAhLFL7JP9uqeTgw8ZgxVaozCipuQ=";
};
nativeCheckInputs = [ pytestCheckHook ];
doCheck = !stdenv.hostPlatform.isDarwin;
pythonImportsCheck = [ "pebble" ];
meta = with lib; {
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 ];
};
}