mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.chardet: use finalAttrs
This commit is contained in:
parent
0b780db8eb
commit
9dfc99b8d8
1 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@
|
|||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "chardet";
|
||||
version = "6.0.0.post1";
|
||||
pyproject = true;
|
||||
|
|
@ -18,7 +18,7 @@ buildPythonPackage rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "chardet";
|
||||
repo = "chardet";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-7G998L4VRvNiGBBNAxPJB27lI2DtL1lTteowUH2NBDk=";
|
||||
};
|
||||
|
||||
|
|
@ -42,11 +42,11 @@ buildPythonPackage rec {
|
|||
pythonImportsCheck = [ "chardet" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/chardet/chardet/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/chardet/chardet/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Universal encoding detector";
|
||||
mainProgram = "chardetect";
|
||||
homepage = "https://github.com/chardet/chardet";
|
||||
license = lib.licenses.lgpl21Plus;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue