forked from mirrors/nixpkgs
33 lines
804 B
Nix
33 lines
804 B
Nix
{ lib, fetchFromGitHub, rustPlatform
|
|
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
|
|
|
|
with rustPlatform;
|
|
|
|
buildRustPackage rec {
|
|
pname = "intecture-cli";
|
|
version = "0.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intecture";
|
|
repo = "cli";
|
|
rev = version;
|
|
sha256 = "16a5fkpyqkf8w20k3ircc1d0qmif7nygkzxj6mzk9609dlb0dmxq";
|
|
};
|
|
|
|
cargoSha256 = "11r551baz3hrkyf9nv68mdf09nqyvbcfjh2rgy8babmi7jljpzav";
|
|
|
|
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 ];
|
|
};
|
|
}
|