depot/third_party/nixpkgs/pkgs/development/python-modules/pebble/default.nix
Default email a71eb02b76 Project import generated by Copybara.
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
2022-11-27 10:42:12 +01:00

38 lines
705 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=";
};
checkInputs = [
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 ];
};
}