Files
nixpkgs/pkgs/development/python-modules/supervisor/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

45 lines
975 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 = "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 ];
};
}