2019-09-30 17:17:58 +00:00
|
|
|
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
|
2018-05-25 20:35:25 +00:00
|
|
|
, mock
|
|
|
|
, meld3
|
2019-09-30 17:17:58 +00:00
|
|
|
, pytest
|
2019-09-29 12:52:08 +00:00
|
|
|
, setuptools
|
2018-05-25 20:35:25 +00:00
|
|
|
}:
|
2019-09-29 12:52:08 +00:00
|
|
|
|
2018-05-25 20:35:25 +00:00
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "supervisor";
|
2020-08-29 11:41:51 +00:00
|
|
|
version = "4.2.1";
|
2018-05-25 20:35:25 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-08-29 11:41:51 +00:00
|
|
|
sha256 = "c479c875853e9c013d1fa73e529fd2165ff1ecaecc7e82810ba57e7362ae984d";
|
2018-05-25 20:35:25 +00:00
|
|
|
};
|
|
|
|
|
2019-09-30 17:17:58 +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
|
|
|
|
'';
|
2018-05-25 20:35:25 +00:00
|
|
|
|
2019-09-29 12:52:08 +00:00
|
|
|
propagatedBuildInputs = [ meld3 setuptools ];
|
2018-05-25 20:35:25 +00:00
|
|
|
|
2019-09-29 12:52:08 +00:00
|
|
|
meta = with lib; {
|
2018-05-25 20:35:25 +00:00
|
|
|
description = "A system for controlling process state under UNIX";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://supervisord.org/";
|
2019-09-29 12:52:08 +00:00
|
|
|
license = licenses.free; # http://www.repoze.org/LICENSE.txt
|
|
|
|
maintainers = with maintainers; [ zimbatm ];
|
2018-05-25 20:35:25 +00:00
|
|
|
};
|
|
|
|
}
|