2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
2024-06-24 18:47:55 +00:00
|
|
|
pytestCheckHook,
|
|
|
|
nix-update-script,
|
|
|
|
hatchling,
|
2024-01-02 11:29:13 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "character-encoding-utils";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "0.0.8";
|
|
|
|
pyproject = true;
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
disabled = pythonOlder "3.10";
|
2024-01-02 11:29:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
pname = "character_encoding_utils";
|
|
|
|
inherit version;
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-UXX4L/x7fP37ZEFDCPc0KRNyx47xvwY0Jz+lfxzUulg=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
build-system = [ hatchling ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "character_encoding_utils" ];
|
2024-01-02 11:29:13 +00:00
|
|
|
|
2024-06-24 18:47:55 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
meta = {
|
2024-06-05 15:53:02 +00:00
|
|
|
homepage = "https://github.com/TakWolf/character-encoding-utils";
|
2024-06-24 18:47:55 +00:00
|
|
|
description = "Some character encoding utils";
|
|
|
|
platforms = lib.platforms.all;
|
2024-01-02 11:29:13 +00:00
|
|
|
license = lib.licenses.mit;
|
2024-06-24 18:47:55 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
TakWolf
|
|
|
|
h7x4
|
|
|
|
];
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
}
|