10 buildPythonPackage rec {
11 pname = "managesieve";
15 disabled = pythonOlder "3.7";
18 inherit pname version;
19 hash = "sha256-2CCb6h69H58YT1byj/fkrfzGsMUbr0GHpJLcMpsSE/M=";
22 nativeBuildInputs = [ setuptools ];
24 nativeCheckInputs = [ pytestCheckHook ];
26 pythonImportsCheck = [ "managesieve" ];
29 description = "ManageSieve client library for remotely managing Sieve scripts";
30 homepage = "https://managesieve.readthedocs.io/";
31 # PSFL for the python module, GPLv3 only for sieveshell
32 license = with licenses; [
36 maintainers = with maintainers; [ dadada ];
37 mainProgram = "sieveshell";