influxdb2: 2.0.2 -> 2.0.6

* update libflux to version 0.115.0
* chronograf-ui has been renamed to influxdb-ui
This commit is contained in:
Claudio Bley 2021-05-14 10:37:36 +02:00 committed by Jonathan Ringer
parent 04aa238c1a
commit 329ec3d17c
3 changed files with 18 additions and 17 deletions

View File

@ -13,15 +13,15 @@
# dependencies nix expression. # dependencies nix expression.
let let
version = "2.0.2"; version = "2.0.6";
shorthash = "84496e507a"; # git rev-parse HEAD with 2.0.2 checked out shorthash = "4db98b4c9a"; # git rev-parse HEAD with 2.0.6 checked out
libflux_version = "0.95.0"; libflux_version = "0.115.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "influxdata"; owner = "influxdata";
repo = "influxdb"; repo = "influxdb";
rev = "v${version}"; rev = "v${version}";
sha256 = "05s09crqgbyfdck33zwax5l47jpc4wh04yd8zsm658iksdgzpmnn"; sha256 = "1x74p87csx4m4cgijk57xs75nikv3bnh7skgnzk30ab1ar13iirw";
}; };
ui = mkYarnPackage { ui = mkYarnPackage {
@ -31,7 +31,7 @@ let
yarnNix = ./influx-ui-yarndeps.nix; yarnNix = ./influx-ui-yarndeps.nix;
configurePhase = '' configurePhase = ''
cp -r $node_modules ui/node_modules cp -r $node_modules ui/node_modules
rsync -r $node_modules/../deps/chronograf-ui/node_modules/ ui/node_modules rsync -r $node_modules/../deps/influxdb-ui/node_modules/ ui/node_modules
''; '';
INFLUXDB_SHA = shorthash; INFLUXDB_SHA = shorthash;
buildPhase = '' buildPhase = ''
@ -52,10 +52,10 @@ let
owner = "influxdata"; owner = "influxdata";
repo = "flux"; repo = "flux";
rev = "v${libflux_version}"; rev = "v${libflux_version}";
sha256 = "07jz2nw3zswg9f4p5sb5r4hpg3n4qibjcgs9sk9csns70h5rp9j3"; sha256 = "0zplwsk9xidv8l9sqbxqivy6q20ryd31fhrzspn1mjn4i45kkwz1";
}; };
sourceRoot = "source/libflux"; sourceRoot = "source/libflux";
cargoSha256 = "0y5xjkqpaxp9qq1qj39zw3mnvkbbb9g4fa5cli77nhfwz288xx6h"; cargoSha256 = "06gh466q7qkid0vs5scic0qqlz3h81yb00nwn8nwq8ppr5z2ijyq";
nativeBuildInputs = [ llvmPackages.libclang ]; nativeBuildInputs = [ llvmPackages.libclang ];
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
pkgcfg = '' pkgcfg = ''
@ -80,7 +80,7 @@ in buildGoModule {
nativeBuildInputs = [ go-bindata pkg-config ]; nativeBuildInputs = [ go-bindata pkg-config ];
vendorSha256 = "0lviz7l5zbghyfkp0lvlv8ykpak5hhkfal8d7xwvpsm8q3sghc8a"; vendorSha256 = "03pabm0h9q0v5dfdq9by2l2n32bz9imwalz0aw897vsrfhci0ldf";
subPackages = [ "cmd/influxd" "cmd/influx" ]; subPackages = [ "cmd/influxd" "cmd/influx" ];
PKG_CONFIG_PATH = "${flux}/pkgconfig"; PKG_CONFIG_PATH = "${flux}/pkgconfig";

View File

@ -1,12 +1,12 @@
{ {
"name": "chronograf-ui", "name": "influxdb-ui",
"version": "2.0.2", "version": "2.0.5",
"private": false, "private": false,
"license": "AGPL-3.0", "license": "MIT",
"description": "", "description": "",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "github:influxdata/chronograf" "url": "github:influxdata/ui"
}, },
"engines": { "engines": {
"node": ">=10.5.0", "node": ">=10.5.0",
@ -40,6 +40,7 @@
"eslint:circleci": "eslint", "eslint:circleci": "eslint",
"eslint:fix": "eslint --fix '{src,cypress}/**/*.{ts,tsx}'", "eslint:fix": "eslint --fix '{src,cypress}/**/*.{ts,tsx}'",
"prettier": "prettier --config .prettierrc.json --check '{src,cypress}/**/*.{ts,tsx}'", "prettier": "prettier --config .prettierrc.json --check '{src,cypress}/**/*.{ts,tsx}'",
"prettier:circleci": "prettier --config .prettierrc.json --check",
"prettier:fix": "prettier --config .prettierrc.json --write '{src,cypress}/**/*.{ts,tsx}'", "prettier:fix": "prettier --config .prettierrc.json --write '{src,cypress}/**/*.{ts,tsx}'",
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty --skipLibCheck", "tsc": "tsc -p ./tsconfig.json --noEmit --pretty --skipLibCheck",
"tsc:cypress": "tsc -p ./cypress/tsconfig.json --noEmit --pretty --skipLibCheck", "tsc:cypress": "tsc -p ./cypress/tsconfig.json --noEmit --pretty --skipLibCheck",
@ -134,7 +135,7 @@
"dependencies": { "dependencies": {
"@influxdata/clockface": "2.3.4", "@influxdata/clockface": "2.3.4",
"@influxdata/flux": "^0.5.1", "@influxdata/flux": "^0.5.1",
"@influxdata/flux-lsp-browser": "^0.5.23", "@influxdata/flux-lsp-browser": "^0.5.41",
"@influxdata/giraffe": "0.29.0", "@influxdata/giraffe": "0.29.0",
"@influxdata/influx": "0.5.5", "@influxdata/influx": "0.5.5",
"@influxdata/influxdb-templates": "0.9.0", "@influxdata/influxdb-templates": "0.9.0",

View File

@ -666,11 +666,11 @@
}; };
} }
{ {
name = "_influxdata_flux_lsp_browser___flux_lsp_browser_0.5.23.tgz"; name = "_influxdata_flux_lsp_browser___flux_lsp_browser_0.5.41.tgz";
path = fetchurl { path = fetchurl {
name = "_influxdata_flux_lsp_browser___flux_lsp_browser_0.5.23.tgz"; name = "_influxdata_flux_lsp_browser___flux_lsp_browser_0.5.41.tgz";
url = "https://registry.yarnpkg.com/@influxdata/flux-lsp-browser/-/flux-lsp-browser-0.5.23.tgz"; url = "https://registry.yarnpkg.com/@influxdata/flux-lsp-browser/-/flux-lsp-browser-0.5.41.tgz";
sha1 = "b3d1579e26ff21a11771003cbcaebe5fef82d73c"; sha1 = "abf6c5ad253317f34a9217ecfd250d78fe625a83";
}; };
} }
{ {