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
This commit is contained in:
Motiejus Jakštys
2025-02-05 20:24:25 +00:00
parent 5ebb27a7f2
commit 79c51d8640
+8 -7
View File
@@ -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