mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
4607f02589
A fix was integrated into the 4.2.1 release.
34 lines
799 B
Nix
34 lines
799 B
Nix
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
|
|
, mock
|
|
, meld3
|
|
, pytest
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "supervisor";
|
|
version = "4.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "c479c875853e9c013d1fa73e529fd2165ff1ecaecc7e82810ba57e7362ae984d";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|