38 lines
705 B
Nix
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 ];
|
|
};
|
|
}
|