2023-08-22 19:59:55 +02:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, hatch-vcs
|
|
|
|
, hatchling
|
2024-05-19 10:36:15 +02:00
|
|
|
, pytestCheckHook
|
|
|
|
, pythonOlder
|
2023-08-22 19:59:55 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "character-encoding-utils";
|
2024-05-19 05:39:58 +00:00
|
|
|
version = "0.0.8";
|
2024-05-19 10:36:15 +02:00
|
|
|
pyproject = true;
|
2023-08-22 19:59:55 +02:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "character_encoding_utils";
|
|
|
|
inherit version;
|
2024-05-19 05:39:58 +00:00
|
|
|
hash = "sha256-UXX4L/x7fP37ZEFDCPc0KRNyx47xvwY0Jz+lfxzUulg=";
|
2023-08-22 19:59:55 +02:00
|
|
|
};
|
|
|
|
|
2024-05-19 10:36:15 +02:00
|
|
|
build-system = [
|
2023-08-22 19:59:55 +02:00
|
|
|
hatch-vcs
|
|
|
|
hatchling
|
|
|
|
];
|
|
|
|
|
2024-05-19 10:36:15 +02:00
|
|
|
nativeCheckInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
2023-08-22 19:59:55 +02:00
|
|
|
|
2024-05-19 10:36:15 +02:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"character_encoding_utils"
|
|
|
|
];
|
2023-08-22 19:59:55 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Some character encoding utils";
|
2024-05-19 10:36:15 +02:00
|
|
|
homepage = "https://github.com/TakWolf/character-encoding-utils";
|
2023-08-22 19:59:55 +02:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = with lib.maintainers; [ h7x4 ];
|
|
|
|
};
|
|
|
|
}
|