nixpkgs/pkgs/development/python-modules/supervisor/default.nix

33 lines
785 B
Nix
Raw Normal View History

2019-09-30 18:17:58 +01:00
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
, mock
2019-09-30 18:17:58 +01:00
, pytest
, setuptools
}:
buildPythonPackage rec {
pname = "supervisor";
version = "4.2.1";
src = fetchPypi {
inherit pname version;
sha256 = "c479c875853e9c013d1fa73e529fd2165ff1ecaecc7e82810ba57e7362ae984d";
};
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
'';
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 ];
};
}