gridtracker2: 2.250914.1 -> 2.251106.7, remove in-tree lockfile, add update script

This commit is contained in:
dish 2025-11-08 18:21:29 -05:00
parent ac6627f9d5
commit 0a9b910a0d
2 changed files with 7 additions and 6732 deletions

File diff suppressed because it is too large Load diff

View file

@ -7,22 +7,20 @@
fetchFromGitLab,
makeBinaryWrapper,
makeDesktopItem,
nix-update-script,
}:
let
version = "2.250914.1";
in
buildNpmPackage (finalAttrs: {
pname = "gridtracker2";
inherit version;
version = "2.251106.7";
src = fetchFromGitLab {
owner = "gridtracker.org";
repo = "gridtracker2";
tag = "v${version}";
hash = "sha256-ME68kGRlIRPs5tUOGb3g2CXJKC52QuMuTMc1ctAMzlk=";
tag = "v${finalAttrs.version}";
hash = "sha256-g1njDFodCHvILZZNrI/exAqWLZsbNBGHy3jlzo3uLJ8=";
};
npmDepsHash = "sha256-MUXwJPo/A0gxtUbM3MOWfMcspM1losuDhc5XTc2oqCo=";
npmDepsHash = "sha256-8bhOfLLsNSK+/mXku5ukLr65bfk+RwC3SyOGRHndqVQ=";
nativeBuildInputs = [
makeBinaryWrapper
@ -50,10 +48,6 @@ buildNpmPackage (finalAttrs: {
})
];
postPatch = ''
install -Dvm644 ${./package-lock.json} package-lock.json
'';
buildPhase = ''
runHook preBuild
''
@ -108,6 +102,8 @@ buildNpmPackage (finalAttrs: {
runHook postInstall
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Warehouse of amateur radio information";
homepage = "https://gridtracker.org/";