2021-12-06 16:07:01 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, fetchPypi
|
2020-04-24 23:36:52 +00:00
|
|
|
, mock
|
|
|
|
, pytest
|
|
|
|
, setuptools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "supervisor";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "4.2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "40dc582ce1eec631c3df79420b187a6da276bbd68a4ec0a8f1f123ea616b97a2";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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
|
|
|
|
'';
|
|
|
|
|
2021-04-05 15:23:46 +00:00
|
|
|
propagatedBuildInputs = [ setuptools ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A system for controlling process state under UNIX";
|
|
|
|
homepage = "http://supervisord.org/";
|
|
|
|
license = licenses.free; # http://www.repoze.org/LICENSE.txt
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
|
|
|
};
|
|
|
|
}
|