Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
990 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
pythonOlder,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "ebcdic";
version = "1.1.1";
pyproject = true;
disabled = pythonOlder "3.7";
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 = with lib; {
description = "Additional EBCDIC codecs";
homepage = "https://github.com/roskakori/CodecMapper/tree/master/ebcdic";
license = licenses.bsd2;
maintainers = with maintainers; [ fab ];
};
}