windmill: 1.188.1 -> 1.210.1

This commit is contained in:
happysalada 2023-11-19 06:54:22 +01:00 committed by Yt
parent c03834573b
commit 10e860ea3b
2 changed files with 1924 additions and 868 deletions

File diff suppressed because it is too large Load Diff

@ -14,6 +14,7 @@
, openssl
, pango
, pixman
, giflib
, pkg-config
, python3
, rustfmt
@ -23,13 +24,13 @@
let
pname = "windmill";
version = "1.188.1";
version = "1.210.1";
fullSrc = fetchFromGitHub {
owner = "windmill-labs";
repo = "windmill";
rev = "v${version}";
hash = "sha256-IiCIiP5KYRw10aPlR40RPW0ynXq5itf0LLtpDtxCNE4=";
hash = "sha256-ss3EsIqfuctPOEdI5IQtyFFcDzIqnFm6UUG1vA+OlkQ=";
};
pythonEnv = python3.withPackages (ps: [ ps.pip-tools ]);
@ -42,7 +43,7 @@ let
sourceRoot = "${fullSrc.name}/frontend";
npmDepsHash = "sha256-TgAv3iUD0kP2mOvMVOW4yYCDCsf2Cr8IfXK+V+f35uw";
npmDepsHash = "sha256-l9MRaa6TaBg9vFoVuIGZNC9jLS29TlWeSniIBRNDRgU=";
# without these you get a
# FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
@ -52,7 +53,7 @@ let
npm run generate-backend-client
'';
buildInputs = [ pixman cairo pango ];
buildInputs = [ pixman cairo pango giflib ];
nativeBuildInputs = [ python3 pkg-config ];
installPhase = ''
@ -93,6 +94,8 @@ rustPlatform.buildRustPackage {
outputHashes = {
"progenitor-0.3.0" = "sha256-F6XRZFVIN6/HfcM8yI/PyNke45FL7jbcznIiqj22eIQ=";
"tinyvector-0.1.0" = "sha256-NYGhofU4rh+2IAM+zwe04YQdXY8Aa4gTmn2V2HtzRfI=";
"archiver-rs-0.5.1" = "sha256-ZIik0mMABmhdx/ullgbOrKH5GAtqcOKq5A6vB7aBSjk=";
"pg-embed-0.7.2" = "sha256-R/SrlzNK7aAOyXVTQ/WPkiQb6FyMg9tpsmPTsiossDY=";
};
};
@ -118,6 +121,7 @@ rustPlatform.buildRustPackage {
openssl
rustfmt
lld
stdenv.cc.cc.lib
];
nativeBuildInputs = [
@ -146,6 +150,7 @@ rustPlatform.buildRustPackage {
wrapProgram "$out/bin/windmill" \
--prefix PATH : ${lib.makeBinPath [go pythonEnv deno nsjail bash]} \
--prefix LD_LIBRARY_PATH : "${stdenv.cc.cc.lib}/lib" \
--set PYTHON_PATH "${pythonEnv}/bin/python3" \
--set GO_PATH "${go}/bin/go" \
--set DENO_PATH "${deno}/bin/deno" \