forgejo: 1.20.1-0 -> 1.20.2-0

This commit is contained in:
Adam Stephens 2023-07-30 13:34:42 -04:00
parent b4fc86847e
commit aa7ee35c8a
No known key found for this signature in database

View File

@ -6,6 +6,7 @@
, gzip
, lib
, makeWrapper
, nix-update-script
, nixosTests
, openssh
, pam
@ -38,17 +39,17 @@ let
in
buildGoModule rec {
pname = "forgejo";
version = "1.20.1-0";
version = "1.20.2-0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "forgejo";
repo = "forgejo";
rev = "v${version}";
hash = "sha256-3L43hm6Tx4h5UHm3jGTGiOWBgAGx49zVGB0D6om6ayk=";
hash = "sha256-8mFI5Zt2J6EQZqu/qcirFp8WMz+IlrkvHeA+oUb0X5U=";
};
vendorHash = "sha256-n2fqqQ6jqHEAWLlaY9t6nd6Ty0viOuTwDWDhTECve+Q=";
vendorHash = "sha256-ZoFs2T3NNixrbTDdp7fqTgjJ+G8DpkxHW8K6BM8tZ9w=";
subPackages = [ "." ];
@ -95,6 +96,9 @@ buildGoModule rec {
});
passthru = {
# allow nix-update to handle npmDepsHash
inherit (frontend) npmDeps;
data-compressed = runCommand "forgejo-data-compressed" {
nativeBuildInputs = [ brotli xorg.lndir ];
} ''
@ -108,6 +112,7 @@ buildGoModule rec {
'';
tests = nixosTests.forgejo;
updateScript = nix-update-script { };
};
meta = {