39 lines
789 B
Nix
39 lines
789 B
Nix
{ lib
|
|
, stdenv
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pebble";
|
|
version = "5.0.4";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "Pebble";
|
|
inherit version;
|
|
hash = "sha256-b3rfK97UQUvdNWLV9NVnvZT/EB5yav+HimZXW8mcEis=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|