python3Packages.chardet: 5.0.0 -> 5.1.0

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
Luiz Irber 2022-12-30 02:48:43 +01:00 committed by Martin Weinelt
parent c8ff23158e
commit 7f5e062065

View File

@ -4,18 +4,24 @@
, hypothesis , hypothesis
, pythonOlder , pythonOlder
, pytestCheckHook , pytestCheckHook
, setuptools
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "chardet"; pname = "chardet";
version = "5.0.0"; version = "5.1.0";
format = "pyproject";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-A2jfK/14tfwgVyu06bt/tT4sCU9grpmTM56GcdCvuKo="; hash = "sha256-DWJxK5VrwVT4X7CiZuKjxZE8KWfgA0hwGzJBHW3vMeU=";
}; };
nativeBuildInputs = [
setuptools
];
checkInputs = [ checkInputs = [
hypothesis hypothesis
pytestCheckHook pytestCheckHook
@ -29,6 +35,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "chardet" ]; pythonImportsCheck = [ "chardet" ];
meta = with lib; { meta = with lib; {
changelog = "https://github.com/chardet/chardet/releases/tag/${version}";
description = "Universal encoding detector"; description = "Universal encoding detector";
homepage = "https://github.com/chardet/chardet"; homepage = "https://github.com/chardet/chardet";
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;