From 0330cef96364bfd90694ea782d54e64717aced63 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Fri, 23 May 2025 12:01:35 -0400 Subject: [PATCH] git-review: 2.4.0 -> 2.5.0 --- .../version-management/git-review/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/version-management/git-review/default.nix b/pkgs/applications/version-management/git-review/default.nix index ac6d7879e2bf..c0881a7e2aa9 100644 --- a/pkgs/applications/version-management/git-review/default.nix +++ b/pkgs/applications/version-management/git-review/default.nix @@ -1,7 +1,7 @@ { lib, - fetchFromGitea, buildPythonApplication, + fetchgit, pbr, requests, setuptools, @@ -10,18 +10,17 @@ buildPythonApplication rec { pname = "git-review"; - version = "2.4.0"; + version = "2.5.0"; # Manually set version because prb wants to get it from the git # upstream repository (and we are installing from tarball instead) PBR_VERSION = version; - src = fetchFromGitea { - domain = "opendev.org"; - owner = "opendev"; - repo = "git-review"; - rev = version; - hash = "sha256-UfYc662NqnQt0+CKc+18jXnNTOcZv8urCNBsWd6x0VQ="; + # fetchFromGitea fails trying to download archive file + src = fetchgit { + url = "https://opendev.org/opendev/git-review"; + tag = version; + hash = "sha256-RE5XAUS46Y/jtI0/csR59B9l1gYpHuwGQkbWqoTfxPk="; }; outputs = [ @@ -50,6 +49,7 @@ buildPythonApplication rec { meta = with lib; { description = "Tool to submit code to Gerrit"; homepage = "https://opendev.org/opendev/git-review"; + changelog = "https://docs.opendev.org/opendev/git-review/latest/releasenotes.html#relnotes-${version}"; license = licenses.asl20; maintainers = with maintainers; [ kira-bruneau ]; mainProgram = "git-review";