tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python313Packages.tnefparse: init at 1.4.0
Florian Klink
1 year ago
365f29bf
3eeaa42e
+58
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
tnefparse
default.nix
top-level
python-packages.nix
+56
pkgs/development/python-modules/tnefparse/default.nix
reviewed
···
1
1
+
{
2
2
+
lib,
3
3
+
buildPythonPackage,
4
4
+
fetchFromGitHub,
5
5
+
6
6
+
setuptools,
7
7
+
8
8
+
compressed-rtf,
9
9
+
10
10
+
pytestCheckHook,
11
11
+
pytest-console-scripts,
12
12
+
}:
13
13
+
14
14
+
buildPythonPackage rec {
15
15
+
pname = "tnefparse";
16
16
+
version = "1.4.0";
17
17
+
18
18
+
pyproject = true;
19
19
+
build-system = [ setuptools ];
20
20
+
21
21
+
src = fetchFromGitHub {
22
22
+
owner = "koodaamo";
23
23
+
repo = "tnefparse";
24
24
+
tag = version;
25
25
+
hash = "sha256-t2ouuuy6fzwb6SZNpxeGSleL/11SgTT8Ce28/ST1glw=";
26
26
+
};
27
27
+
28
28
+
optional-dependencies = {
29
29
+
compressed-rtf = [ compressed-rtf ];
30
30
+
};
31
31
+
32
32
+
nativeCheckInputs = [
33
33
+
pytestCheckHook
34
34
+
pytest-console-scripts
35
35
+
36
36
+
# tests always require this.
37
37
+
compressed-rtf
38
38
+
];
39
39
+
40
40
+
disabledTests = [
41
41
+
# ensures there's a "optional argument" in the CLI usage, and its output has changed since.
42
42
+
"test_help_is_printed"
43
43
+
];
44
44
+
45
45
+
pythonImportsCheck = [ "tnefparse" ];
46
46
+
47
47
+
meta = {
48
48
+
description = "TNEF decoding library written in python, without external dependencies";
49
49
+
homepage = "https://github.com/koodaamo/tnefparse";
50
50
+
changelog = "https://github.com/koodaamo/tnefparse/releases/tag/${version}";
51
51
+
license = lib.licenses.lgpl3Only;
52
52
+
maintainers = with lib.maintainers; [
53
53
+
flokli
54
54
+
];
55
55
+
};
56
56
+
}
+2
pkgs/top-level/python-packages.nix
reviewed
···
17191
17191
17192
17192
tmb = callPackage ../development/python-modules/tmb { };
17193
17193
17194
17194
+
tnefparse = callPackage ../development/python-modules/tnefparse { };
17195
17195
+
17194
17196
todoist = callPackage ../development/python-modules/todoist { };
17195
17197
17196
17198
todoist-api-python = callPackage ../development/python-modules/todoist-api-python { };