forgejo: init at 1.18.0-rc1-1 (#207796)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Fixes https://github.com/NixOS/nixpkgs/issues/207601
This commit is contained in:
Colin Arnott 2022-12-26 21:28:16 +00:00 committed by GitHub
parent 30c0633f3c
commit e91a59e1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ fetchurl, gitea, lib }:
gitea.overrideAttrs (old: rec {
pname = "forgejo";
version = "1.18.0-rc1-1";
src = fetchurl {
name = "${pname}-src-${version}.tar.gz";
# see https://codeberg.org/forgejo/forgejo/releases
url = "https://codeberg.org/attachments/976c426a-3e04-49ff-9762-47fab50624a3";
hash = "sha256-kreBMHlMVB1UeG67zMbszGrgjaROateCRswH7GrKnEw=";
};
postInstall = old.postInstall or "" + ''
mv $out/bin/{${old.pname},${pname}}
'';
meta = with lib; {
description = "A self-hosted lightweight software forge";
homepage = "https://forgejo.org";
changelog = "https://codeberg.org/forgejo/forgejo/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ urandom ];
};
})

View File

@ -7469,6 +7469,8 @@ with pkgs;
gitea = callPackage ../applications/version-management/gitea { };
forgejo = callPackage ../applications/version-management/forgejo {};
gokart = callPackage ../development/tools/gokart { };
gl2ps = callPackage ../development/libraries/gl2ps { };