depot/third_party/nixpkgs/pkgs/development/python-modules/pebble/default.nix
Default email e7ec2969af Project import generated by Copybara.
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
2024-01-13 09:15:51 +01:00

39 lines
789 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "pebble";
version = "5.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "Pebble";
inherit version;
hash = "sha256-5/fs/QEHq3zsnzu0EahWxNfVUiAtTpqLA46aZK4x/Yw=";
};
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 ];
};
}