depot/third_party/nixpkgs/pkgs/development/python-modules/supervisor/default.nix
Default email 9405df4a82 Project import generated by Copybara.
GitOrigin-RevId: 8e4fe32876ca15e3d5eb3ecd3ca0b224417f5f17
2021-04-26 15:14:03 -04:00

32 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 ];
};
}