antares: 0.7.24 -> 0.7.28 (#335924)
This commit is contained in:
commit
730ba31fad
22108
pkgs/by-name/an/antares/npm-lock.patch
Normal file
22108
pkgs/by-name/an/antares/npm-lock.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,30 +1,34 @@
|
|||||||
{ fetchFromGitHub
|
{
|
||||||
, lib
|
fetchFromGitHub,
|
||||||
, buildNpmPackage
|
lib,
|
||||||
, electron
|
buildNpmPackage,
|
||||||
, nodejs
|
electron,
|
||||||
|
nodejs,
|
||||||
|
fetchpatch,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildNpmPackage rec {
|
buildNpmPackage rec {
|
||||||
pname = "antares";
|
pname = "antares";
|
||||||
version = "0.7.24";
|
version = "0.7.28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "antares-sql";
|
owner = "antares-sql";
|
||||||
repo = "antares";
|
repo = "antares";
|
||||||
rev = "v${version}";
|
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 ];
|
buildInputs = [ nodejs ];
|
||||||
|
|
||||||
buildPhase = ''
|
npmBuildScript = "compile";
|
||||||
runHook preBuild
|
|
||||||
npm run compile
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
@ -36,7 +40,7 @@ buildNpmPackage rec {
|
|||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontNpmBuild = true;
|
npmFlags = [ "--legacy-peer-deps" ];
|
||||||
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
|
||||||
env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
|
env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
|
||||||
|
|
||||||
|
@ -17332,7 +17332,7 @@ with pkgs;
|
|||||||
ansible-lint = callPackage ../tools/admin/ansible/lint.nix { };
|
ansible-lint = callPackage ../tools/admin/ansible/lint.nix { };
|
||||||
|
|
||||||
antares = callPackage ../by-name/an/antares/package.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 { };
|
antlr2 = callPackage ../development/tools/parsing/antlr/2.7.7.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user