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