3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/supervisor/default.nix
2021-11-12 19:10:54 -08:00

33 lines
777 B
Nix

{ stdenv, lib, buildPythonPackage, 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 ];
};
}