2018-07-21 02:44:44 +02:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform
|
2017-02-19 00:14:43 +01:00
|
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
|
|
|
name = "intecture-cli-${version}";
|
2017-10-12 23:03:35 +02:00
|
|
|
version = "0.3.4";
|
2017-02-19 00:14:43 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intecture";
|
|
|
|
repo = "cli";
|
|
|
|
rev = version;
|
2017-10-12 23:03:35 +02:00
|
|
|
sha256 = "16a5fkpyqkf8w20k3ircc1d0qmif7nygkzxj6mzk9609dlb0dmxq";
|
2017-02-19 00:14:43 +01:00
|
|
|
};
|
|
|
|
|
2019-05-25 13:03:08 +02:00
|
|
|
cargoSha256 = "0dhrx6njfbd8w27ifk13g6s3ick579bhc4ijf54rfb9g6n8abafx";
|
2017-02-19 00:14:43 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|