13 src = fetchFromGitHub {
14 owner = "antares-sql";
17 hash = "sha256-nEI1G0A1c+xjALbIcItzh4CFxAeQPOD8h+Bs0aYnEfU=";
20 npmDepsHash = "sha256-lSkZTa2zt8BeucOih8XjQ7QW/tg34umIRe4a4DDBW34=";
23 # In version 0.7.28, package-lock is not updated properly so this patch update it to be able to build the package
24 # This patch will probably be removed in the next version
28 buildInputs = [ nodejs ];
30 npmBuildScript = "compile";
35 cp -rf dist/* $out/lib/node_modules/antares
36 find -name "*.ts" | xargs rm -f
37 makeWrapper ${lib.getExe electron} $out/bin/antares \
38 --add-flags $out/lib/node_modules/antares/main.js
42 npmFlags = [ "--legacy-peer-deps" ];
43 env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
44 env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1";
47 description = "Modern, fast and productivity driven SQL client with a focus in UX";
48 homepage = "https://github.com/antares-sql/antares";
49 license = licenses.mit;
50 maintainers = with maintainers; [ eymeric ];