2018-07-21 01:44:44 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform
|
2021-01-17 09:17:16 +00:00
|
|
|
, openssl, zeromq, czmq, pkg-config, cmake, zlib }:
|
2017-02-18 23:14:43 +00:00
|
|
|
|
|
|
|
with rustPlatform;
|
|
|
|
|
|
|
|
buildRustPackage rec {
|
2019-08-31 12:41:23 +01:00
|
|
|
pname = "intecture-cli";
|
2017-10-12 22:03:35 +01:00
|
|
|
version = "0.3.4";
|
2017-02-18 23:14:43 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intecture";
|
|
|
|
repo = "cli";
|
|
|
|
rev = version;
|
2017-10-12 22:03:35 +01:00
|
|
|
sha256 = "16a5fkpyqkf8w20k3ircc1d0qmif7nygkzxj6mzk9609dlb0dmxq";
|
2017-02-18 23:14:43 +00:00
|
|
|
};
|
|
|
|
|
2021-05-07 12:00:49 +01:00
|
|
|
cargoSha256 = "09phc0gxz1amrk1bbl5ajg0jmgxcqm4xzbvq3nj58qps991kvgf1";
|
2017-02-18 23:14:43 +00:00
|
|
|
|
|
|
|
buildInputs = [ openssl zeromq czmq zlib ];
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config cmake ];
|
2017-02-18 23:14:43 +00:00
|
|
|
|
|
|
|
# Needed for tests
|
|
|
|
USER = "$(whoami)";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A developer friendly, language agnostic configuration management tool for server systems";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://intecture.io";
|
2017-02-18 23:14:43 +00:00
|
|
|
license = licenses.mpl20;
|
|
|
|
maintainers = [ maintainers.rushmorem ];
|
|
|
|
};
|
|
|
|
}
|