33 lines
785 B
Nix
33 lines
785 B
Nix
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
|
|
, mock
|
|
, pytest
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "supervisor";
|
|
version = "4.2.2";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "5b2b8882ec8a3c3733cce6965cc098b6d80b417f21229ab90b18fe551d619f90";
|
|
};
|
|
|
|
# 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
|
|
'';
|
|
|
|
propagatedBuildInputs = [ setuptools ];
|
|
|
|
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 ];
|
|
};
|
|
}
|