1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 pytestCheckHook, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "character-encoding-utils"; 13 version = "0.0.8"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.11"; 17 18 src = fetchPypi { 19 pname = "character_encoding_utils"; 20 inherit version; 21 hash = "sha256-UXX4L/x7fP37ZEFDCPc0KRNyx47xvwY0Jz+lfxzUulg="; 22 }; 23 24 build-system = [ 25 hatch-vcs 26 hatchling 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "character_encoding_utils" ]; 32 33 meta = { 34 description = "Some character encoding utils"; 35 homepage = "https://github.com/TakWolf/character-encoding-utils"; 36 license = lib.licenses.mit; 37 maintainers = with lib.maintainers; [ h7x4 ]; 38 }; 39}