python311Packages.character-encoding-utils: set python 3.10

This commit is contained in:
TakWolf
2024-06-13 11:20:36 +08:00
parent 94ee620a3f
commit 7fc4739770
@@ -2,10 +2,10 @@
lib,
buildPythonPackage,
fetchPypi,
hatch-vcs,
hatchling,
pytestCheckHook,
pythonOlder,
pytestCheckHook,
nix-update-script,
hatchling,
}:
buildPythonPackage rec {
@@ -13,7 +13,7 @@ buildPythonPackage rec {
version = "0.0.8";
pyproject = true;
disabled = pythonOlder "3.11";
disabled = pythonOlder "3.10";
src = fetchPypi {
pname = "character_encoding_utils";
@@ -21,19 +21,22 @@ buildPythonPackage rec {
hash = "sha256-UXX4L/x7fP37ZEFDCPc0KRNyx47xvwY0Jz+lfxzUulg=";
};
build-system = [
hatch-vcs
hatchling
];
build-system = [ hatchling ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "character_encoding_utils" ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Some character encoding utils";
homepage = "https://github.com/TakWolf/character-encoding-utils";
description = "Some character encoding utils";
platforms = lib.platforms.all;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ h7x4 ];
maintainers = with lib.maintainers; [
TakWolf
h7x4
];
};
}