mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
34 lines
785 B
Nix
34 lines
785 B
Nix
{ stdenv, lib, buildPythonPackage, isPy3k, fetchPypi
|
|
, mock
|
|
, meld3
|
|
, pytest
|
|
, setuptools
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "supervisor";
|
|
version = "4.0.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "02pindhq84hb9a7ykyaqw8i2iqb21h69lpmclyqh7fm1446rji4n";
|
|
};
|
|
|
|
# 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 ];
|
|
};
|
|
}
|