python312Packages.pygount: 2.0.0 -> 3.1.0 (#413409)

authored by

dotlambda and committed by
GitHub
ac9844e7 4907a2e2

+6 -9
+6 -9
pkgs/development/python-modules/pygount/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "pygount"; 15 - version = "2.0.0"; 15 + version = "3.1.0"; 16 16 pyproject = true; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "roskakori"; 20 20 repo = "pygount"; 21 21 tag = "v${version}"; 22 - hash = "sha256-l2Rq+4u6NwUIwMYWY/qfne7DrG0guv6hwnqVq5wszAo="; 22 + hash = "sha256-hoj27L1wXOjzU3jdWIP5MtlO6fzKOYXfW/Pf3AdYKc0="; 23 23 }; 24 24 25 25 build-system = [ 26 26 hatchling 27 - ]; 28 - 29 - pythonRelaxDeps = [ 30 - "rich" 31 27 ]; 32 28 33 29 dependencies = [ 34 - pygments 35 30 chardet 36 - rich 37 31 gitpython 32 + pygments 33 + rich 38 34 ]; 39 35 40 36 nativeCheckInputs = [ ··· 45 41 # requires network access 46 42 "test_can_find_files_from_mixed_cloned_git_remote_url_and_local" 47 43 "test_can_extract_and_close_and_find_files_from_cloned_git_remote_url_with_revision" 44 + "test_succeeds_on_not_git_extension" 48 45 ]; 49 46 50 47 pythonImportsCheck = [ "pygount" ]; ··· 53 50 description = "Count lines of code for hundreds of languages using pygments"; 54 51 mainProgram = "pygount"; 55 52 homepage = "https://github.com/roskakori/pygount"; 56 - changelog = "https://github.com/roskakori/pygount/blob/${src.rev}/CHANGES.md"; 53 + changelog = "https://github.com/roskakori/pygount/blob/${src.tag}/docs/changes.md"; 57 54 license = with lib.licenses; [ bsd3 ]; 58 55 maintainers = with lib.maintainers; [ nickcao ]; 59 56 };