diff --git a/pkgs/development/python-modules/pebble/default.nix b/pkgs/development/python-modules/pebble/default.nix index 102907df46fa..b12eb288ad82 100644 --- a/pkgs/development/python-modules/pebble/default.nix +++ b/pkgs/development/python-modules/pebble/default.nix @@ -1,22 +1,34 @@ -{ lib, stdenv, buildPythonPackage, isPy27, fetchPypi, pytestCheckHook }: +{ lib +, stdenv +, buildPythonPackage +, fetchPypi +, pytestCheckHook +, pythonOlder +}: buildPythonPackage rec { pname = "pebble"; - version = "5.0.0"; - disabled = isPy27; + version = "5.0.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { pname = "Pebble"; inherit version; - sha256 = "sha256-rdKgfXHmZphfG9AkAkeH3XkPcfGi27n1+sA3y7NY4M4="; + hash = "sha256-7kHDO+PUEihVcfLMfPkU1MKoGrPTiMaLPHRrerOwuGU="; }; - doCheck = !stdenv.isDarwin; - 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";