a71eb02b76
GitOrigin-RevId: a115bb9bd56831941be3776c8a94005867f316a7
38 lines
705 B
Nix
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 ];
|
|
};
|
|
}
|