blob: 8edb48cc2f486246e57a09fb559f099dd3f3dd97 (
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
50
51
52
53
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
t61codec,
pytest-cov-stub,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "x690";
version = "1.0.0post1";
pyproject = true;
src = fetchFromGitHub {
owner = "exhuma";
repo = "x690";
tag = "v${version}";
hash = "sha256-HNKZq6VfqYAih2SrhGChC2jaQ76dhzKM/Mcr6pVYFE4=";
};
build-system = [
setuptools
];
pythonRelaxDeps = [
"t61codec"
];
dependencies = [
t61codec
];
pythonImportsCheck = [ "x690" ];
nativeCheckInputs = [
pytest-cov-stub
pytestCheckHook
];
disabledTests = [
# AssertionError: "<UnknownType 99 b'abc' TypeClass.APPLICATION/TypeNature.CONSTRUCTED/3>" != "<UnknownType 99 b'abc' application/constructed/3>"
"test_repr"
];
meta = {
description = "Pure Python X.690 implementation";
homepage = "https://github.com/exhuma/x690";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
}
|