diff options
Diffstat (limited to 'pkgs/development/python-modules/supervisor/default.nix')
-rw-r--r-- | pkgs/development/python-modules/supervisor/default.nix | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/supervisor/default.nix b/pkgs/development/python-modules/supervisor/default.nix index 9af3db2de4908..97492250dc4d6 100644 --- a/pkgs/development/python-modules/supervisor/default.nix +++ b/pkgs/development/python-modules/supervisor/default.nix @@ -1,31 +1,46 @@ -{ stdenv, lib, buildPythonPackage, fetchPypi +{ lib +, stdenv +, buildPythonPackage +, fetchPypi , mock -, pytest +, pytestCheckHook +, pythonOlder , setuptools }: buildPythonPackage rec { pname = "supervisor"; - version = "4.2.4"; + version = "4.2.5"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - sha256 = "40dc582ce1eec631c3df79420b187a6da276bbd68a4ec0a8f1f123ea616b97a2"; + sha256 = "sha256-NHYbrhojxYGSKBpRFfsH+/IsmwEzwIFmvv/HD+0+vBI="; }; + propagatedBuildInputs = [ + setuptools + ]; + # wants to write to /tmp/foo which is likely already owned by another # nixbld user on hydra doCheck = !stdenv.isDarwin; - checkInputs = [ mock pytest ]; - checkPhase = '' - pytest - ''; - propagatedBuildInputs = [ setuptools ]; + checkInputs = [ + mock + pytestCheckHook + ]; + + pythonImportsCheck = [ + "supervisor" + ]; meta = with lib; { description = "A system for controlling process state under UNIX"; homepage = "http://supervisord.org/"; + changelog = "https://github.com/Supervisor/supervisor/blob/${version}/CHANGES.rst"; license = licenses.free; # http://www.repoze.org/LICENSE.txt maintainers = with maintainers; [ zimbatm ]; }; |