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