Merge pull request #188590 from anthonyroussel/daemonocle
python310Packages.daemonocle: 1.0.2 -> 1.2.3
This commit is contained in:
commit
41beb4852c
1 changed files with 25 additions and 8 deletions
|
@ -4,27 +4,44 @@
|
|||
, click
|
||||
, psutil
|
||||
, pytestCheckHook
|
||||
, lsof
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "daemonocle";
|
||||
version = "1.0.2";
|
||||
version = "1.2.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jnrbsn";
|
||||
repo = "daemonocle";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-kDCbosXTIffuCzHcReXhiW4YPbxDW3OPnTbMC/EGJrM=";
|
||||
hash = "sha256-K+IqpEQ4yhfSguPPm2Ult3kGNO/9H56B+kD5ntaCZdk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ click psutil ];
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
psutil
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
lsof
|
||||
];
|
||||
|
||||
# One third of the tests fail on the sandbox with
|
||||
# "psutil.NoSuchProcess: no process found with pid 0".
|
||||
doCheck = false;
|
||||
disabledTests = [ "sudo" ];
|
||||
pythonImportsCheck = [ "daemonocle" ];
|
||||
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 = with lib; {
|
||||
description = "A Python library for creating super fancy Unix daemons";
|
||||
|
@ -36,7 +53,7 @@ buildPythonPackage rec {
|
|||
'';
|
||||
homepage = "https://github.com/jnrbsn/daemonocle";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.AluisioASG ];
|
||||
maintainers = with maintainers; [ AluisioASG ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue