From af6c722a7b3f32a3ef78eaedb06a2d9c4eee42b3 Mon Sep 17 00:00:00 2001 From: rushmorem Date: Sun, 19 Feb 2017 01:14:43 +0200 Subject: [PATCH] intecture-cli: init at 0.3.2 --- pkgs/tools/admin/intecture/cli.nix | 32 ++++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/tools/admin/intecture/cli.nix diff --git a/pkgs/tools/admin/intecture/cli.nix b/pkgs/tools/admin/intecture/cli.nix new file mode 100644 index 00000000000..0f530f636d7 --- /dev/null +++ b/pkgs/tools/admin/intecture/cli.nix @@ -0,0 +1,32 @@ +{ stdenv, lib, fetchFromGitHub, rustPlatform +, openssl, zeromq, czmq, pkgconfig, cmake, zlib }: + +with rustPlatform; + +buildRustPackage rec { + name = "intecture-cli-${version}"; + version = "0.3.2"; + + src = fetchFromGitHub { + owner = "intecture"; + repo = "cli"; + rev = version; + sha256 = "0f5pyrlkxzz4kdfzwambxzqr48g3n06f1pv163h06ggssqa51wbc"; + }; + + depsSha256 = "0f3rhjs5addppva4cjx3ngpa5gz2i2n46hyc3zd4l7lhh8gaggix"; + + buildInputs = [ openssl zeromq czmq zlib ]; + + nativeBuildInputs = [ pkgconfig cmake ]; + + # Needed for tests + USER = "$(whoami)"; + + meta = with lib; { + description = "A developer friendly, language agnostic configuration management tool for server systems"; + homepage = https://intecture.io; + license = licenses.mpl20; + maintainers = [ maintainers.rushmorem ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 67072b5128b..1382a5307f4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2301,6 +2301,8 @@ with pkgs; innoextract = callPackage ../tools/archivers/innoextract { }; + intecture-cli = callPackage ../tools/admin/intecture/cli.nix { }; + ioping = callPackage ../tools/system/ioping { }; iops = callPackage ../tools/system/iops { };