blob: 21eced43f96c51fa982e7e4d09db6b5c6ff74832 (
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
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
isPy3k,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "emailthreads";
version = "0.1.3";
format = "setuptools";
disabled = !isPy3k;
# pypi is missing files for tests
src = fetchFromGitHub {
owner = "emersion";
repo = "python-emailthreads";
rev = "v${version}";
hash = "sha256-7BhYS1DQCW9QpG31asPCq5qPyJy+WW2onZpvEHhwQCs=";
};
nativeCheckInputs = [ unittestCheckHook ];
PKGVER = version;
meta = {
homepage = "https://github.com/emersion/python-emailthreads";
description = "Python library to parse and format email threads";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ eadwu ];
};
}
|