fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
36 lines
785 B
Nix
36 lines
785 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.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 ];
|
|
};
|
|
}
|