diff options
author | Karel Kočí <cynerd@email.cz> | 2022-04-09 09:44:39 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2022-04-12 21:48:06 +0200 |
commit | 1c2206f46fc9f608f805071dd5e036d46249756d (patch) | |
tree | bbb44dbfc1575f228503afc1f58810edb0373e29 /pkgs/sentinel/proxy | |
parent | 5339e045194c5ad482250c0271959a5fd9f97db2 (diff) | |
download | nixturris-1c2206f46fc9f608f805071dd5e036d46249756d.tar.gz nixturris-1c2206f46fc9f608f805071dd5e036d46249756d.tar.bz2 nixturris-1c2206f46fc9f608f805071dd5e036d46249756d.zip |
treewide: move sentinel to the dedicated repository
Diffstat (limited to 'pkgs/sentinel/proxy')
-rw-r--r-- | pkgs/sentinel/proxy/default.nix | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pkgs/sentinel/proxy/default.nix b/pkgs/sentinel/proxy/default.nix deleted file mode 100644 index a3b6bf2..0000000 --- a/pkgs/sentinel/proxy/default.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ stdenv, lib, fetchgit -, bootstrapHook, pkg-config, gperf -, openssl, zlib, czmq, libconfig, msgpack, paho-mqtt-c -, check -}: - -stdenv.mkDerivation rec { - pname = "sentinel-proxy"; - version = "1.4"; - meta = with lib; { - homepage = "https://gitlab.nic.cz/turris/sentinel/proxy"; - description = "Main MQTT Sentinel client. Proxy that lives on the router and relays messages received from ZMQ to uplink server over MQTT channel."; - license = licenses.gpl3; - }; - - src = fetchgit { - url = "https://gitlab.nic.cz/turris/sentinel/proxy.git"; - rev = "v" + version; - sha256 = "11s538yf4ydlzlx1vs9fc6hh9igf40s3v853mlcki8a28bni6xwb"; - }; - - buildInputs = [openssl zlib czmq libconfig msgpack paho-mqtt-c]; - nativeBuildInputs = [bootstrapHook pkg-config gperf]; - depsBuildBuild = [check]; - - preConfigure = "./bootstrap"; - - doCheck = true; - doInstallCheck = true; - configureFlags = lib.optional (stdenv.hostPlatform == stdenv.buildPlatform) "--enable-tests"; -} |