2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pytestCheckHook,
|
|
|
|
pythonOlder,
|
|
|
|
setuptools,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "managesieve";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.8";
|
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.7";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-2CCb6h69H58YT1byj/fkrfzGsMUbr0GHpJLcMpsSE/M=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "managesieve" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "ManageSieve client library for remotely managing Sieve scripts";
|
2021-03-09 03:18:52 +00:00
|
|
|
homepage = "https://managesieve.readthedocs.io/";
|
|
|
|
# PSFL for the python module, GPLv3 only for sieveshell
|
2024-06-05 15:53:02 +00:00
|
|
|
license = with licenses; [
|
|
|
|
gpl3Only
|
|
|
|
psfl
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ dadada ];
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "sieveshell";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|