python3Packages.encutils: init at 1.0.0

This commit is contained in:
Robert Schütz
2026-04-23 21:31:11 -07:00
parent 1a78a34963
commit ce2b64a6e2
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{
buildPythonPackage,
chardet,
fetchPypi,
flit-core,
lib,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "encutils";
version = "1.0.0";
pyproject = true;
# pyproject.toml on GitHub uses coherent.build as build-system
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-OOylrxjOur2L5DwX8UydP7uoPMX3rI46schuJMSyuRo=";
};
build-system = [ flit-core ];
dependencies = [
chardet
];
pythonImportsCheck = [ "encutils" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Collection of helper functions to detect encodings of text files";
homepage = "https://github.com/coherent-oss/encutils";
license = lib.licenses.lgpl3Plus;
maintainers = [ lib.maintainers.dotlambda ];
};
})
+2
View File
@@ -5016,6 +5016,8 @@ self: super: with self; {
encodec = callPackage ../development/python-modules/encodec { };
encutils = callPackage ../development/python-modules/encutils { };
energyflip-client = callPackage ../development/python-modules/energyflip-client { };
energyflow = callPackage ../development/python-modules/energyflow { };