From 79c51d864051edc376b1de77fa3ae9e1a65acffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 5 Feb 2025 20:24:25 +0000 Subject: [PATCH] gamja: v1.0.0-beta.9 -> v1.0.0-beta.10 The old upstream[1] has a note that it has moved to codeberg. Move the source and bump the version. [1]: https://git.sr.ht/~emersion/gamja/commit/32012bbea536eff9eea393ec1d66b048e4bbf024#README.md --- pkgs/by-name/ga/gamja/package.nix | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ga/gamja/package.nix b/pkgs/by-name/ga/gamja/package.nix index e9b9fae017eb..8b8c1b59f0c7 100644 --- a/pkgs/by-name/ga/gamja/package.nix +++ b/pkgs/by-name/ga/gamja/package.nix @@ -1,23 +1,24 @@ { lib, - fetchFromSourcehut, + fetchFromGitea, buildNpmPackage, writeText, - # https://git.sr.ht/~emersion/gamja/tree/master/doc/config-file.md + # https://codeberg.org/emersion/gamja/src/branch/master/doc/config-file.md gamjaConfig ? null, }: buildNpmPackage rec { pname = "gamja"; - version = "1.0.0-beta.9"; + version = "1.0.0-beta.10"; - src = fetchFromSourcehut { - owner = "~emersion"; + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "emersion"; repo = "gamja"; rev = "v${version}"; - hash = "sha256-09rCj9oMzldRrxMGH4rUnQ6wugfhfmJP3rHET5b+NC8="; + hash = "sha256-JqnEiPnYRGSeIZm34Guu7MgMfwcySc42aTXweMqL8BQ="; }; - npmDepsHash = "sha256-LxShwZacCctKAfMNCUMyrSaI1hIVN80Wseq/d8WITkc="; + npmDepsHash = "sha256-dAfbluNNBF1e9oagej+SRxO/YffCdLLAUUgt8krnWvg="; installPhase = '' runHook preInstall