Merge pull request #251913 from dit7ya/windmill

windmill: 1.131.0 -> 1.160.0
This commit is contained in:
Pol Dellaiera 2023-09-02 16:08:48 +02:00 committed by GitHub
commit 6c31caab83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1117 additions and 654 deletions

File diff suppressed because it is too large Load diff

View file

@ -3,6 +3,7 @@
, fetchFromGitHub
, buildNpmPackage
, bash
, cmake
, cairo
, deno
, fetchurl
@ -23,13 +24,13 @@
let
pname = "windmill";
version = "1.131.0";
version = "1.160.0";
fullSrc = fetchFromGitHub {
owner = "windmill-labs";
repo = pname;
repo = "windmill";
rev = "v${version}";
sha256 = "sha256-w9WkXoBHdQZUTOveHMyK/iyPB0B1e6bYJ/8qMXH8gFw=";
hash = "sha256-WsIYGqBBcLq5CE/zcgqPVCYtxM3GfSxSqF2JeW6C0ss=";
};
pythonEnv = python3.withPackages (ps: [ ps.pip-tools ]);
@ -42,7 +43,7 @@ let
sourceRoot = "${fullSrc.name}/frontend";
npmDepsHash = "sha256-2bKrpvh7x8mlhNnHFKVrZJzrWy2yynXbQW3l63HGNTg=";
npmDepsHash = "sha256-GUrOfN3SyxkvQllgHXDao8JFl5zY4DBxftelsX0Rkqo=";
preBuild = ''
npm run generate-backend-client
@ -75,12 +76,12 @@ rustPlatform.buildRustPackage {
};
in
fetch_librusty_v8 {
version = "0.73.0";
version = "0.74.3";
shas = {
x86_64-linux = "sha256-rDthrqAs4yUl9BpFm8yJ2sKbUImydMMZegUBhcu6vdk=";
aarch64-linux = "sha256-fM7yteYrPxCLNIUKvUpH6XTdD2aYsK4SEyrkknZgzLk=";
x86_64-darwin = "sha256-3c3oNq6WJkFR7E/EeJ7CnN+JO7X5x+wSlqo39TbEDQk=";
aarch64-darwin = "sha256-fO1R99XWfgAGcZXJX8nHbfnPZOlz28kXO7fkkeEF43A=";
x86_64-linux = "sha256-8pa8nqA6rbOSBVnp2Q8/IQqh/rfYQU57hMgwU9+iz4A=";
aarch64-linux = "sha256-3kXOV8rlCNbNBdXgOtd3S94qO+JIKyOByA4WGX+XVP0=";
x86_64-darwin = "sha256-iBBVKZiSoo08YEQ8J/Rt1/5b7a+2xjtuS6QL/Wod5nQ=";
aarch64-darwin = "sha256-Djnuc3l/jQKvBf1aej8LG5Ot2wPT0m5Zo1B24l1UHsM=";
};
};
};
@ -110,9 +111,18 @@ rustPlatform.buildRustPackage {
--replace 'unknown-version' 'v${version}'
'';
buildInputs = [ openssl rustfmt lld ];
buildInputs = [
openssl
rustfmt
lld
];
nativeBuildInputs = [ pkg-config makeWrapper swagger-cli ];
nativeBuildInputs = [
pkg-config
makeWrapper
swagger-cli
cmake # for libz-ng-sys crate
];
preBuild = ''
pushd ..
@ -139,11 +149,13 @@ rustPlatform.buildRustPackage {
--set NSJAIL_PATH "${nsjail}/bin/nsjail"
'';
meta = with lib; {
description = "Open-source web IDE, scalable runtime and platform for serverless, workflows and UIs";
meta = {
changelog = "https://github.com/windmill-labs/windmill/blob/${fullSrc.rev}/CHANGELOG.md";
description = "Open-source developer platform to turn scripts into workflows and UIs";
homepage = "https://windmill.dev";
license = licenses.agpl3;
maintainers = with maintainers; [ dit7ya ];
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ dit7ya ];
mainProgram = "windmill";
# limited by librusty_v8
platforms = [ "x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin" ];
};