From 78aceb012c0c20ffa10ce8b1bfc47d5b9515eb9d Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 11 Mar 2023 13:53:20 +0100 Subject: gitlint: 0.19.0 -> 0.19.1 Diff: jorisroovers/gitlint@refs/tags/v0.19.0...v0.19.1 Changelog: https://github.com/jorisroovers/gitlint/releases/tag/v0.19.1 --- pkgs/applications/version-management/gitlint/default.nix | 12 ++++-------- .../version-management/gitlint/dont-try-to-use-git.diff | 14 -------------- 2 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 pkgs/applications/version-management/gitlint/dont-try-to-use-git.diff diff --git a/pkgs/applications/version-management/gitlint/default.nix b/pkgs/applications/version-management/gitlint/default.nix index d32de426fefa5..f03de45890580 100644 --- a/pkgs/applications/version-management/gitlint/default.nix +++ b/pkgs/applications/version-management/gitlint/default.nix @@ -7,21 +7,16 @@ python3.pkgs.buildPythonApplication rec { pname = "gitlint"; - version = "0.19.0"; + version = "0.19.1"; format = "pyproject"; src = fetchFromGitHub { owner = "jorisroovers"; repo = "gitlint"; - rev = "v${version}"; - sha256 = "sha256-w4v6mcjCX0V3Mj1K23ErpXdyEKQcA4vykns7UwNBEZ4="; + rev = "refs/tags/v${version}"; + hash = "sha256-4SGkkC4LjZXTDXwK6jMOIKXR1qX76CasOwSqv8XUrjs="; }; - patches = [ - # otherwise hatch tries to run git to collect some metadata about the build - ./dont-try-to-use-git.diff - ]; - SETUPTOOLS_SCM_PRETEND_VERSION = version; # Upstream splitted the project into gitlint and gitlint-core to @@ -51,6 +46,7 @@ python3.pkgs.buildPythonApplication rec { meta = with lib; { description = "Linting for your git commit messages"; homepage = "https://jorisroovers.com/gitlint/"; + changelog = "https://github.com/jorisroovers/gitlint/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ ethancedwards8 fab ]; }; diff --git a/pkgs/applications/version-management/gitlint/dont-try-to-use-git.diff b/pkgs/applications/version-management/gitlint/dont-try-to-use-git.diff deleted file mode 100644 index 4d52cb57736ff..0000000000000 --- a/pkgs/applications/version-management/gitlint/dont-try-to-use-git.diff +++ /dev/null @@ -1,14 +0,0 @@ ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -61,10 +63,3 @@ include = [ - exclude = [ - "/gitlint/tests", # - ] -- --[tool.hatch.metadata.hooks.vcs.urls] --Homepage = "https://jorisroovers.github.io/gitlint" --Documentation = "https://jorisroovers.github.io/gitlint" --Source = "https://github.com/jorisroovers/gitlint/tree/main/gitlint-core" --Changelog = "https://github.com/jorisroovers/gitlint/blob/main/CHANGELOG.md" --'Source Commit' = "https://github.com/jorisroovers/gitlint/tree/{commit_hash}/gitlint-core" -\ No newline at end of file -- cgit 1.4.1