1{ lib 2, stdenv 3, buildPythonPackage 4, fetchPypi 5, mock 6, pytestCheckHook 7, pythonOlder 8, setuptools 9}: 10 11buildPythonPackage rec { 12 pname = "supervisor"; 13 version = "4.2.5"; 14 format = "setuptools"; 15 16 disabled = pythonOlder "3.7"; 17 18 src = fetchPypi { 19 inherit pname version; 20 hash = "sha256-NHYbrhojxYGSKBpRFfsH+/IsmwEzwIFmvv/HD+0+vBI="; 21 }; 22 23 propagatedBuildInputs = [ 24 setuptools 25 ]; 26 27 # wants to write to /tmp/foo which is likely already owned by another 28 # nixbld user on hydra 29 doCheck = !stdenv.isDarwin; 30 31 nativeCheckInputs = [ 32 mock 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ 37 "supervisor" 38 ]; 39 40 meta = with lib; { 41 description = "A system for controlling process state under UNIX"; 42 homepage = "http://supervisord.org/"; 43 changelog = "https://github.com/Supervisor/supervisor/blob/${version}/CHANGES.rst"; 44 license = licenses.free; # http://www.repoze.org/LICENSE.txt 45 maintainers = with maintainers; [ zimbatm ]; 46 }; 47}