depot/third_party/nixpkgs/pkgs/development/python-modules/pebble/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

38 lines
705 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pebble";
version = "5.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Pebble";
inherit version;
hash = "sha256-nFjAPq+SDDEodETG/vOdxTuurJ3iIerRBPXJtI6L1Yc=";
};
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 ];
};
}