python3Packages.character-encoding-utils: init at 0.0.6

This commit is contained in:
h7x4
2023-11-17 00:46:06 +01:00
parent af75c89f48
commit 09640dbaeb
2 changed files with 43 additions and 0 deletions
@@ -0,0 +1,41 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, pythonOlder
, nix-update-script
, hatch-vcs
, hatchling
}:
buildPythonPackage rec {
pname = "character-encoding-utils";
version = "0.0.6";
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "character_encoding_utils";
inherit version;
hash = "sha256-ugzWiSpa/xxlraVyVPTSq/uxPg11kOyePgb1cmzX3ug=";
};
format = "pyproject";
nativeBuildInputs = [
hatch-vcs
hatchling
];
checkInputs = [ pytestCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
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 ];
};
}
+2
View File
@@ -1946,6 +1946,8 @@ self: super: with self; {
characteristic = callPackage ../development/python-modules/characteristic { };
character-encoding-utils = callPackage ../development/python-modules/character-encoding-utils { };
chardet = callPackage ../development/python-modules/chardet { };
charset-normalizer = callPackage ../development/python-modules/charset-normalizer { };