mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.chardet: 5.2.0 -> 6.0.0.post1
Diff: https://github.com/chardet/chardet/compare/5.2.0...6.0.0.post1 Changelog: https://github.com/chardet/chardet/releases/tag/6.0.0.post1
This commit is contained in:
parent
76f0b0304e
commit
0b780db8eb
1 changed files with 18 additions and 8 deletions
|
|
@ -1,26 +1,36 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
hatch-vcs,
|
||||
hatchling,
|
||||
hypothesis,
|
||||
pytest-timeout,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "chardet";
|
||||
version = "5.2.0";
|
||||
version = "6.0.0.post1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-Gztv9HmoxBS8P6LAhSmVaVxKAm3NbQYzst0JLKOcHPc=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "chardet";
|
||||
repo = "chardet";
|
||||
tag = version;
|
||||
hash = "sha256-7G998L4VRvNiGBBNAxPJB27lI2DtL1lTteowUH2NBDk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
hypothesis
|
||||
pytest-timeout
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
|
|
@ -32,7 +42,7 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "chardet" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/chardet/chardet/releases/tag/${version}";
|
||||
changelog = "https://github.com/chardet/chardet/releases/tag/${src.tag}";
|
||||
description = "Universal encoding detector";
|
||||
mainProgram = "chardetect";
|
||||
homepage = "https://github.com/chardet/chardet";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue