1{ stdenv, lib, buildPythonPackage, fetchPypi 2, mock 3, pytest 4, setuptools 5}: 6 7buildPythonPackage rec { 8 pname = "supervisor"; 9 version = "4.2.4"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "40dc582ce1eec631c3df79420b187a6da276bbd68a4ec0a8f1f123ea616b97a2"; 14 }; 15 16 # wants to write to /tmp/foo which is likely already owned by another 17 # nixbld user on hydra 18 doCheck = !stdenv.isDarwin; 19 checkInputs = [ mock pytest ]; 20 checkPhase = '' 21 pytest 22 ''; 23 24 propagatedBuildInputs = [ setuptools ]; 25 26 meta = with lib; { 27 description = "A system for controlling process state under UNIX"; 28 homepage = "http://supervisord.org/"; 29 license = licenses.free; # http://www.repoze.org/LICENSE.txt 30 maintainers = with maintainers; [ zimbatm ]; 31 }; 32}