antares: 0.7.24 -> 0.7.28

This commit is contained in:
eymeric 2024-08-19 23:23:21 +02:00
parent 8da188f8e7
commit 5c764c21d8
No known key found for this signature in database
3 changed files with 22127 additions and 15 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +1,34 @@
{ fetchFromGitHub
, lib
, buildNpmPackage
, electron
, nodejs
{
fetchFromGitHub,
lib,
buildNpmPackage,
electron,
nodejs,
fetchpatch,
}:
buildNpmPackage rec {
pname = "antares";
version = "0.7.24";
version = "0.7.28";
src = fetchFromGitHub {
owner = "antares-sql";
repo = "antares";
rev = "v${version}";
hash = "sha256-jMtUDqxWwfXl9x61ycohTaacNAhWawL3Z4+OPW5nbOI=";
hash = "sha256-nEI1G0A1c+xjALbIcItzh4CFxAeQPOD8h+Bs0aYnEfU=";
};
npmDepsHash = "sha256-GC1hdRO8rrM97AMYCxWeNtJhyVdbKgitKLkWX7kGCwg=";
npmDepsHash = "sha256-lSkZTa2zt8BeucOih8XjQ7QW/tg34umIRe4a4DDBW34=";
patches = [
# In version 0.7.28, package-lock is not updated properly so this patch update it to be able to build the package
# This patch will probably be removed in the next version
./npm-lock.patch
];
buildInputs = [ nodejs ];
buildPhase = ''
runHook preBuild
npm run compile
runHook postBuild
'';
npmBuildScript = "compile";
installPhase = ''
runHook preInstall
@ -36,7 +40,7 @@ buildNpmPackage rec {
runHook postInstall
'';
dontNpmBuild = true;
npmFlags = [ "--legacy-peer-deps" ];
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";

View File

@ -17348,7 +17348,7 @@ with pkgs;
ansible-lint = callPackage ../tools/admin/ansible/lint.nix { };
antares = callPackage ../by-name/an/antares/package.nix {
electron = electron_29;
electron = electron_30;
};
antlr2 = callPackage ../development/tools/parsing/antlr/2.7.7.nix { };