diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-03-11 18:01:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 18:01:19 +0000 |
commit | feb117e32cc0a86a3d86bdac00795da821facab2 (patch) | |
tree | 80288fb76420420905808a31dea9ec94d29dc97c /pkgs/applications/version-management | |
parent | 52f84b7e22f36ff5e02ba715c95b48e51792a94e (diff) | |
parent | 651e4175cf02ff6cbe9736102b96327ceaa24ec3 (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/gitlint/default.nix | 12 | ||||
-rw-r--r-- | pkgs/applications/version-management/gitlint/dont-try-to-use-git.diff | 14 |
2 files changed, 4 insertions, 22 deletions
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 |