depot/third_party/nixpkgs/pkgs/development/python-modules/pebble/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

38 lines
711 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pebble";
version = "5.0.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Pebble";
inherit version;
hash = "sha256-vc/Z6n4K7biVsgQXfBnm1lQ9mWL040AuurIXUASGPag=";
};
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";
license = licenses.lgpl3Plus;
maintainers = with maintainers; [ orivej ];
};
}