Commit Graph

46 Commits

Author SHA1 Message Date
Konstantin Bogdanov
a8aaeb6e53
clickhouse 21.8.12.29 -> 22.3.2.2 2022-03-28 17:02:12 +02:00
Luke Granger-Brown
5495c8e70b clickhouse: 21.8.8.29 -> 21.8.12.29 2021-12-22 22:08:41 +00:00
Niklas Hambüchen
0939143e24
Merge pull request #137176 from GoldsteinE/clickhouse-package
nixos/clickhouse: add package option
2021-11-21 21:43:58 +01:00
Niklas Hambüchen
faadbddcd7 clickhouse: Add passthru.tests 2021-11-21 20:38:57 +01:00
Kaz Wesley
4172adde12
clickhouse: fix non-x86 build (#141009)
* clickhouse: fix non-x86 build

libcpuid is only needed, and only available, on x86.
2021-10-10 10:55:21 -07:00
Maximilian Bosch
62dc8ef779
clickhouse: 21.3.11.5 -> 21.8.8.29
The new release contains a fix for MariaDB[1] that unbreaks the package.

[1] a7e761d04f
2021-10-08 15:46:13 +02:00
Jonathan Ringer
14f3686af1
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
  pkgs/applications/terminal-emulators/alacritty/default.nix
  pkgs/servers/clickhouse/default.nix
2021-05-20 09:12:42 -07:00
Maximilian Bosch
3f3cec6d9e clickhouse: 20.11.4.13-stable -> 21.3.11.5-lts
Failing Hydra build: https://hydra.nixos.org/build/143269865
ZHF #122042
2021-05-19 14:08:46 -07:00
John Ericson
18c38f8aee treewide: All the linker to be chosen independently
This will begin the process of breaking up the `useLLVM` monolith. That
is good in general, but I hope will be good for NetBSD and Darwin in
particular.

Co-authored-by: sterni <sternenseemann@systemli.org>
2021-05-14 21:29:51 +00:00
Dmitry Ivankov
4fd780f940 clickhouse: mark as broken on 32-bit architectures
Hydra failed on configure phase for Linux i686
https://hydra.nixos.org/build/142591591/nixlog/1
configure can be fixed, but the package isn't supposed to work on 32-bits anyway
https://github.com/ClickHouse/ClickHouse/pull/23959

ZHF: #122042
2021-05-08 14:53:26 +02:00
Luke Granger-Brown
b1173688a8 clickhouse: require big-parallel
It takes 7h+ on a "normal" 2-core-allocated Packet builder, and 20m on a
big-parallel machine.
2021-04-26 00:50:07 +00:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Raghav Sood
a776aea536
clickhouse: 20.5.2.7 -> 20.11.4.13 2020-12-06 03:04:51 +00:00
Luke Granger-Brown
6e39a67aec clickhouse: use system LLVM
Building LLVM pieces is a huge contributor to build times, and probably
bloats binary size as well. Fortunately, there's a knob for this
specific thing (-DUNBUNDLED=ON seems broken and requires some libraries
which aren't packaged for Nix at the moment).

Hopefully this will make clickhouse able to build on OfBorg.
2020-11-28 20:40:22 +00:00
Raghav Sood
2761377682
clickhouse: update website 2020-07-08 08:19:43 +00:00
Raghav Sood
091189c6c2
clickhouse:20.5.2.7 2020-07-08 08:18:19 +00:00
R. RyanTM
e45f5ee1df clickhouse: 19.17.8.54 -> 19.17.9.60 2020-03-26 18:18:13 +00:00
Orivej Desh
a8e06a8e89 clickhouse: link with lld
lld buildInput is still needed for the library.

Related: #24744
2020-03-03 09:22:14 +00:00
Orivej Desh
24c765c744 clickhouse: fix rpath
ClickHouse sets LINKER_NAME to lld which is not yet wrapped with ld-wrapper.sh
and the results lack rpath needed to use the programs and libraries.
2020-03-03 08:38:19 +00:00
R. RyanTM
e7f3e3e2d8 clickhouse: 19.13.6.51 -> 19.17.8.54 2020-02-16 09:13:34 +01:00
R. RyanTM
3637b5829f clickhouse: 19.13.5.44 -> 19.13.6.51
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2019-10-27 23:20:55 +01:00
Orivej Desh
29b5aaeb5d clickhouse: build with rapidjson
This enables ClickHouse JSON functions.
2019-10-17 00:38:49 +00:00
Orivej Desh
67024620aa clickhouse: 19.13.1.11 -> 19.13.5.44
Closes #66797
2019-09-29 02:57:04 +00:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Izorkin
329a88efa7 treewide: replace mysql.connector-c to libmysqlclient 2019-09-09 15:55:34 +03:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Marek Mahut
304dc5922e clickhouse: 19.9.2.4 -> 19.13.1.11 2019-08-10 09:54:33 +02:00
R. RyanTM
422c7fe2f6 clickhouse: 19.6.2.11 -> 19.9.2.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2019-07-15 01:53:40 -07:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Tom Hunger
efcaed45ce clickhouse: 18.16.1 -> 19.6.2.11 2019-05-25 19:48:28 +01:00
Orivej Desh
e4e695548c clickhouse: link to libLLVM rather than to individual LLVM libs
The clickhouse program links to LLVM and to the clickhouse library, that also
links to LLVM. When the library is shared but LLVM is static, LLVM gets linked
into the program twice (once via the library and once directly), which causes
this error when running clickhouse:

     : CommandLine Error: Option 'x86-use-base-pointer' registered more than once!
     LLVM ERROR: inconsistency in registered CommandLine options

A common LLVM installation provides static component libraries and a shared
libLLVM. Linking to libLLVM when libclickhouse is shared solves this issue.

Upstream pull request: https://github.com/yandex/ClickHouse/pull/3989
2019-01-06 16:59:47 +00:00
R. RyanTM
9605c575a6 clickhouse: 18.14.18 -> 18.16.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2019-01-03 19:34:46 -08:00
Maximilian Bosch
64d05bbdd2
clickhouse: fix module and package runtime
Although the package itself builds fine, the module fails because it
tries to log into a non-existant file in `/var/log` which breaks the
service. Patching to default config to log to stdout by default fixes
the issue. Additionally this is the better solution as NixOS heavily
relies on systemd (and thus journald) for logging.

Also, the runtime relies on `/etc/localtime` to start, as it's not
required by the module system we set UTC as sensitive default when using
the module.

To ensure that the service's basic functionality is available, a simple
NixOS test has been added.
2018-12-20 13:03:41 +01:00
R. RyanTM
e5d6f9e329
clickhouse: 18.14.9 -> 18.14.18
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2018-12-19 01:46:45 +01:00
R. RyanTM
cb622a0dd7 clickhouse: 18.12.17 -> 18.14.9
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2018-11-10 01:02:57 -08:00
R. RyanTM
6f88fb0681 clickhouse: 18.10.3 -> 18.12.17
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/clickhouse/versions
2018-09-20 16:22:57 -07:00
Andrey Golovizin
ac2cbcf10e clickhouse: 18.5.1 -> 18.10.3 2018-08-24 15:25:00 +02:00
Austin Seipp
6220a31908 clickhouse: 18.1.0 -> 18.5.1, fix build and use ninja
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-08-07 18:40:39 -05:00
Orivej Desh
687771ced6 clickhouse: 1.1.54385 -> 18.1.0 2018-08-02 23:29:41 +00:00
Orivej Desh
796fa8190e clickhouse: 1.1.54310 -> 1.1.54385 2018-06-11 09:26:07 +00:00
Robin Gloster
6903ea6050 treewide: libmysql -> mysql.connector-c 2017-12-29 02:18:35 +01:00
Orivej Desh
eb23772c10 double-conversion: rename attr from double_conversion 2017-11-22 23:39:03 +00:00
Orivej Desh
f1f1e782cf clickhouse: 1.1.54236 -> 1.1.54310 2017-11-13 16:38:11 +00:00
Orivej Desh
333dc53433 clickhouse: 1.1.54190 -> 1.1.54236 2017-06-10 12:11:37 +02:00
Orivej Desh
8f634a78b9 clickhouse: init at 1.1.54190 2017-04-27 13:25:58 +00:00