git-review: 2.4.0 -> 2.5.0 (#410328)

This commit is contained in:
Wolfgang Walther 2025-06-11 20:22:09 +00:00 committed by GitHub
commit 9cfdd07666
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
{ {
lib, lib,
fetchFromGitea,
buildPythonApplication, buildPythonApplication,
fetchgit,
pbr, pbr,
requests, requests,
setuptools, setuptools,
@ -10,18 +10,17 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "git-review"; pname = "git-review";
version = "2.4.0"; version = "2.5.0";
# Manually set version because prb wants to get it from the git # Manually set version because prb wants to get it from the git
# upstream repository (and we are installing from tarball instead) # upstream repository (and we are installing from tarball instead)
PBR_VERSION = version; PBR_VERSION = version;
src = fetchFromGitea { # fetchFromGitea fails trying to download archive file
domain = "opendev.org"; src = fetchgit {
owner = "opendev"; url = "https://opendev.org/opendev/git-review";
repo = "git-review"; tag = version;
rev = version; hash = "sha256-RE5XAUS46Y/jtI0/csR59B9l1gYpHuwGQkbWqoTfxPk=";
hash = "sha256-UfYc662NqnQt0+CKc+18jXnNTOcZv8urCNBsWd6x0VQ=";
}; };
outputs = [ outputs = [
@ -50,6 +49,7 @@ buildPythonApplication rec {
meta = with lib; { meta = with lib; {
description = "Tool to submit code to Gerrit"; description = "Tool to submit code to Gerrit";
homepage = "https://opendev.org/opendev/git-review"; homepage = "https://opendev.org/opendev/git-review";
changelog = "https://docs.opendev.org/opendev/git-review/latest/releasenotes.html#relnotes-${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ kira-bruneau ]; maintainers = with maintainers; [ kira-bruneau ];
mainProgram = "git-review"; mainProgram = "git-review";