Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, buildPythonPackage, fetchFromGitHub, setuptools, click, psutil, pytestCheckHook, lsof,}:
buildPythonPackage (finalAttrs: { pname = "daemonocle"; version = "1.2.3"; pyproject = true;
__structuredAttrs = true;
src = fetchFromGitHub { owner = "jnrbsn"; repo = "daemonocle"; tag = "v${finalAttrs.version}"; hash = "sha256-K+IqpEQ4yhfSguPPm2Ult3kGNO/9H56B+kD5ntaCZdk="; };
build-system = [ setuptools ];
dependencies = [ click psutil ];
nativeCheckInputs = [ pytestCheckHook lsof ];
# One third of the tests fail on the sandbox with # "psutil.NoSuchProcess: no process found with pid 0". disabledTests = [ "sudo" "test_chrootdir_without_permission" "test_uid_and_gid_without_permission" "test_multi_daemon" "test_multi_daemon_action_worker_id" "test_exec_worker" ];
pythonImportsCheck = [ "daemonocle" ];
meta = { description = "Python library for creating super fancy Unix daemons"; longDescription = '' daemonocle is a library for creating your own Unix-style daemons written in Python. It solves many problems that other daemon libraries have and provides some really useful features you don't often see in other daemons. ''; homepage = "https://github.com/jnrbsn/daemonocle"; license = lib.licenses.mit; maintainers = [ ]; platforms = lib.platforms.unix; };})