biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / supervisor / default.nix
blob8a6bb95f3c3cd89a33c1da13a58d9ba2fda6ed45
2   lib,
3   stdenv,
4   buildPythonPackage,
5   fetchPypi,
6   mock,
7   pytestCheckHook,
8   pythonOlder,
9   setuptools,
12 buildPythonPackage rec {
13   pname = "supervisor";
14   version = "4.2.5";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-NHYbrhojxYGSKBpRFfsH+/IsmwEzwIFmvv/HD+0+vBI=";
22   };
24   propagatedBuildInputs = [ setuptools ];
26   # wants to write to /tmp/foo which is likely already owned by another
27   # nixbld user on hydra
28   doCheck = !stdenv.hostPlatform.isDarwin;
30   nativeCheckInputs = [
31     mock
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "supervisor" ];
37   meta = with lib; {
38     description = "System for controlling process state under UNIX";
39     homepage = "http://supervisord.org/";
40     changelog = "https://github.com/Supervisor/supervisor/blob/${version}/CHANGES.rst";
41     license = licenses.free; # http://www.repoze.org/LICENSE.txt
42     maintainers = with maintainers; [ zimbatm ];
43   };