mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
Merge pull request #324573 from NixOS/backport-324497-to-release-24.05
[Backport release-24.05] forgejo: 7.0.4 -> 7.0.5
This commit is contained in:
commit
a60539b5fa
@ -40,17 +40,17 @@ let
|
|||||||
in
|
in
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "forgejo";
|
pname = "forgejo";
|
||||||
version = "7.0.4";
|
version = "7.0.5";
|
||||||
|
|
||||||
src = fetchFromGitea {
|
src = fetchFromGitea {
|
||||||
domain = "codeberg.org";
|
domain = "codeberg.org";
|
||||||
owner = "forgejo";
|
owner = "forgejo";
|
||||||
repo = "forgejo";
|
repo = "forgejo";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-WtJJdqPbx5k9U+u3ZpI3q/dm3eidxdkFgc8IskaJg88=";
|
hash = "sha256-Y/Ita5dr3COACffAIAjcqHHcdKiUWWEb/f/MPzMG200=";
|
||||||
};
|
};
|
||||||
|
|
||||||
vendorHash = "sha256-TYVWou9fIVL4od2o1uOb/MRBpf2lIg/9Tem9w+ihYzU=";
|
vendorHash = "sha256-hfbNyCQMQzDzJxFc2MPAR4+v/qNcnORiQNbwbbIA4Nw=";
|
||||||
|
|
||||||
subPackages = [ "." ];
|
subPackages = [ "." ];
|
||||||
|
|
||||||
@ -65,12 +65,6 @@ buildGoModule rec {
|
|||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./static-root-path.patch
|
./static-root-path.patch
|
||||||
# Fix TestAddRecursiveExclude go test.
|
|
||||||
# This will be part of the upcoming v7.0.5 release at which point this needs to be removed again.
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://codeberg.org/forgejo/forgejo/commit/f01dc4b271f54201e60a7c795d784813eac3f7ce.patch";
|
|
||||||
sha256 = "sha256-1lPLVHBad+Fmk+6EFXKuMnmDUl5BkEYJuMkTPfdrCgU=";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user