3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/supervisor/default.nix

34 lines
797 B
Nix
Raw Normal View History

2019-09-30 18:17:58 +01:00
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
, mock
, meld3
2019-09-30 18:17:58 +01:00
, pytest
, setuptools
}:
buildPythonPackage rec {
pname = "supervisor";
2019-10-24 07:47:49 +01:00
version = "4.1.0";
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:49 +01:00
sha256 = "2dc86fe0476e945e61483d614ceb2cf4f93b95282eb243bdf792621994360383";
};
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 = [ 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 ];
};
}