depot/third_party/nixpkgs/pkgs/development/python-modules/supervisor/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

47 lines
979 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, mock
, pytestCheckHook
, pythonOlder
, setuptools
}:
buildPythonPackage rec {
pname = "supervisor";
version = "4.2.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-NHYbrhojxYGSKBpRFfsH+/IsmwEzwIFmvv/HD+0+vBI=";
};
propagatedBuildInputs = [
setuptools
];
# wants to write to /tmp/foo which is likely already owned by another
# nixbld user on hydra
doCheck = !stdenv.isDarwin;
nativeCheckInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [
"supervisor"
];
meta = with lib; {
description = "A system for controlling process state under UNIX";
homepage = "http://supervisord.org/";
changelog = "https://github.com/Supervisor/supervisor/blob/${version}/CHANGES.rst";
license = licenses.free; # http://www.repoze.org/LICENSE.txt
maintainers = with maintainers; [ zimbatm ];
};
}