depot/third_party/nixpkgs/pkgs/development/python-modules/supervisor/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

33 lines
799 B
Nix

{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
, mock
, meld3
, pytest
, setuptools
}:
buildPythonPackage rec {
pname = "supervisor";
version = "4.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "2dc86fe0476e945e61483d614ceb2cf4f93b95282eb243bdf792621994360383";
};
# 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 = [ meld3 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 ];
};
}