blob: 2c925eedd85306f8f430caa3dedc76e3cbacd5e0 (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ebcdic";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "roskakori";
repo = "CodecMapper";
tag = "v${version}";
hash = "sha256-gRyZychcF3wYocgVbdF255cSuZh/cl8X0WH/Iplkmxc=";
};
sourceRoot = "${src.name}/${pname}";
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
disabledTests = [
# https://github.com/roskakori/CodecMapper/issues/18
"test_can_lookup_ebcdic_codec"
"test_can_recode_euro_sign"
"test_has_codecs"
"test_has_ignored_codec_names"
];
pythonImportsCheck = [ "ebcdic" ];
meta = {
description = "Additional EBCDIC codecs";
homepage = "https://github.com/roskakori/CodecMapper/tree/master/ebcdic";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ fab ];
};
}
|