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