mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
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:
parent
30c0633f3c
commit
e91a59e1bb
25
pkgs/applications/version-management/forgejo/default.nix
Normal file
25
pkgs/applications/version-management/forgejo/default.nix
Normal 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 ];
|
||||
};
|
||||
})
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user