python311Packages.managesieve: refactor
This commit is contained in:
parent
fbe439c544
commit
109010a866
@ -2,26 +2,40 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "managesieve";
|
||||
version = "0.8";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-2CCb6h69H58YT1byj/fkrfzGsMUbr0GHpJLcMpsSE/M=";
|
||||
hash = "sha256-2CCb6h69H58YT1byj/fkrfzGsMUbr0GHpJLcMpsSE/M=";
|
||||
};
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"managesieve"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "ManageSieve client library for remotely managing Sieve scripts";
|
||||
mainProgram = "sieveshell";
|
||||
homepage = "https://managesieve.readthedocs.io/";
|
||||
# PSFL for the python module, GPLv3 only for sieveshell
|
||||
license = with licenses; [ gpl3Only psfl ];
|
||||
maintainers = with maintainers; [ dadada ];
|
||||
mainProgram = "sieveshell";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user