mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
26 lines
767 B
Nix
26 lines
767 B
Nix
{ lib, fetchFromGitHub, rustPlatform, pkg-config, openssl, systemd }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "journaldriver";
|
|
version = "1.1.0";
|
|
cargoSha256 = "1gzfwkcm63fn41jls16c5sqxz28b0hrfpjhwsvvbwcfv40qxjhsg";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tazjin";
|
|
repo = "journaldriver";
|
|
rev = "v${version}";
|
|
sha256 = "0672iq6s9klb1p37hciyl7snbjgjw98kwrbfkypv07lplc5qcnrf";
|
|
};
|
|
|
|
buildInputs = [ openssl systemd ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Log forwarder from journald to Stackdriver Logging";
|
|
homepage = "https://github.com/tazjin/journaldriver";
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.tazjin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|