mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
33 lines
777 B
Nix
33 lines
777 B
Nix
{ stdenv, lib, buildPythonPackage, fetchPypi
|
|
, mock
|
|
, pytest
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "supervisor";
|
|
version = "4.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "40dc582ce1eec631c3df79420b187a6da276bbd68a4ec0a8f1f123ea616b97a2";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|