1 { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder }:
4 pname = "translitcodec";
6 in buildPythonPackage {
11 disabled = pythonOlder "3.7";
13 src = fetchFromGitHub {
16 rev = "version-${version}";
17 hash = "sha256-/EKquTchx9i3fZqJ6AMzHYP9yCORvwbuUQ95WJQOQbI=";
20 nativeCheckInputs = [ pytestCheckHook ];
22 pythonImportsCheck = [ pname ];
25 description = "Unicode to 8-bit charset transliteration codec";
26 homepage = "https://github.com/claudep/translitcodec";
27 license = with licenses; [ mit ];
28 maintainers = with maintainers; [ rycee ];