3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/admin/intecture/cli.nix
Alyssa Ross 062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00

33 lines
812 B
Nix

{ lib, fetchFromGitHub, rustPlatform
, openssl, zeromq, czmq, pkgconfig, cmake, zlib }:
with rustPlatform;
buildRustPackage rec {
name = "intecture-cli-${version}";
version = "0.3.4";
src = fetchFromGitHub {
owner = "intecture";
repo = "cli";
rev = version;
sha256 = "16a5fkpyqkf8w20k3ircc1d0qmif7nygkzxj6mzk9609dlb0dmxq";
};
cargoSha256 = "0dhrx6njfbd8w27ifk13g6s3ick579bhc4ijf54rfb9g6n8abafx";
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 ];
};
}