blob: e83a1845193bdefb74fd393b7a7d3571e33f0289 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchPypi,
mock,
pytestCheckHook,
setuptools-scm,
typing-extensions,
}:
buildPythonPackage rec {
pname = "sievelib";
version = "1.4.3";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-bFemWvAc6WbJCxPlLxT7+acDd2egcbg4FHTMWrIxBPQ=";
};
build-system = [ setuptools-scm ];
dependencies = [ typing-extensions ];
nativeCheckInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "sievelib" ];
meta = {
description = "Client-side Sieve and Managesieve library";
longDescription = ''
A library written in Python that implements RFC 5228 (Sieve: An Email
Filtering Language) and RFC 5804 (ManageSieve: A Protocol for
Remotely Managing Sieve Scripts), as well as the following extensions:
* Copying Without Side Effects (RFC 3894)
* Body (RFC 5173)
* Date and Index (RFC 5260)
* Vacation (RFC 5230)
* Imap4flags (RFC 5232)
'';
homepage = "https://github.com/tonioo/sievelib";
changelog = "https://github.com/tonioo/sievelib/releases/tag/${version}";
license = lib.licenses.mit;
};
}
|