blob: 18615d8bcac77ce7cf7bb80c8592ac693ac0e4a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchPypi,
pytestCheckHook,
setuptools,
}:
buildPythonPackage rec {
pname = "managesieve";
version = "0.8.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-LVwe0Pn6YPIAuoIaxXMfvCbOfS4NAjozkrdMNZDq+uU=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "managesieve" ];
meta = {
description = "ManageSieve client library for remotely managing Sieve scripts";
homepage = "https://managesieve.readthedocs.io/";
# PSFL for the python module, GPLv3 only for sieveshell
license = with lib.licenses; [
gpl3Only
psfl
];
maintainers = with lib.maintainers; [ dadada ];
mainProgram = "sieveshell";
};
}
|