Commit 78aceb01 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

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
parent f30e1c22
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -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 ];
  };
+0 −14
Original line number Diff line number Diff line
--- 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