python312Packages.pygount: 1.8.0 -> 2.0.0 (#403442)

This commit is contained in:
Nick Cao
2025-05-13 16:38:11 -04:00
committed by GitHub
@@ -2,7 +2,7 @@
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
hatchling,
chardet,
gitpython,
pygments,
@@ -12,28 +12,34 @@
buildPythonPackage rec {
pname = "pygount";
version = "1.8.0";
version = "2.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "roskakori";
repo = "pygount";
tag = "v${version}";
hash = "sha256-PFqcSnJoGL4bXFy3hu3Iurbb8QK1NqCDs8aJmMxP4Hc=";
hash = "sha256-l2Rq+4u6NwUIwMYWY/qfne7DrG0guv6hwnqVq5wszAo=";
};
pythonRelaxDeps = [ "rich" ];
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
chardet
gitpython
pygments
rich
build-system = [
hatchling
];
nativeCheckInputs = [ pytestCheckHook ];
pythonRelaxDeps = [
"rich"
];
dependencies = [
pygments
chardet
rich
gitpython
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# requires network access
@@ -43,12 +49,12 @@ buildPythonPackage rec {
pythonImportsCheck = [ "pygount" ];
meta = with lib; {
meta = {
description = "Count lines of code for hundreds of languages using pygments";
mainProgram = "pygount";
homepage = "https://github.com/roskakori/pygount";
changelog = "https://github.com/roskakori/pygount/blob/${src.rev}/CHANGES.md";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ nickcao ];
license = with lib.licenses; [ bsd3 ];
maintainers = with lib.maintainers; [ nickcao ];
};
}