vscode-extensions.yoavbls.pretty-ts-errors: 0.5.4 -> 0.6.1 (#363464)
[NixPkgs.git] / pkgs / development / python-modules / ebcdic / default.nix
blobc6b373e1bcba7a6a6f98d4a289d3c2650520847d
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   setuptools,
6   pythonOlder,
7   pytestCheckHook,
8 }:
10 buildPythonPackage rec {
11   pname = "ebcdic";
12   version = "1.1.1";
13   pyproject = true;
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "roskakori";
19     repo = "CodecMapper";
20     tag = "v${version}";
21     hash = "sha256-gRyZychcF3wYocgVbdF255cSuZh/cl8X0WH/Iplkmxc=";
22   };
24   sourceRoot = "${src.name}/${pname}";
26   nativeBuildInputs = [ setuptools ];
28   nativeCheckInputs = [ pytestCheckHook ];
30   disabledTests = [
31     # https://github.com/roskakori/CodecMapper/issues/18
32     "test_can_lookup_ebcdic_codec"
33     "test_can_recode_euro_sign"
34     "test_has_codecs"
35     "test_has_ignored_codec_names"
36   ];
38   pythonImportsCheck = [ "ebcdic" ];
40   meta = with lib; {
41     description = "Additional EBCDIC codecs";
42     homepage = "https://github.com/roskakori/CodecMapper/tree/master/ebcdic";
43     license = licenses.bsd2;
44     maintainers = with maintainers; [ fab ];
45   };