mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
journaldriver: init at 1.0.0
This commit is contained in:
parent
a96db8f567
commit
1b08966db9
25
pkgs/tools/misc/journaldriver/default.nix
Normal file
25
pkgs/tools/misc/journaldriver/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, fetchFromGitHub, rustPlatform, pkgconfig, openssl, systemd }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "journaldriver-${version}";
|
||||
version = "1.0.0";
|
||||
cargoSha256 = "04llhriwsrjqnkbjgd22nhci6zmhadclnd8r2bw5092gwdamf49k";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aprilabank";
|
||||
repo = "journaldriver";
|
||||
rev = "v${version}";
|
||||
sha256 = "1163ghf7dxxchyawdaa7zdi8ly2pxmc005c2k549larbirjjbmgc";
|
||||
};
|
||||
|
||||
buildInputs = [ openssl systemd ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Log forwarder from journald to Stackdriver Logging";
|
||||
homepage = "https://github.com/aprilabank/journaldriver";
|
||||
license = licenses.gpl3;
|
||||
maintainers = [ maintainers.tazjin ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -3225,6 +3225,8 @@ with pkgs;
|
||||
|
||||
journalbeat = callPackage ../tools/system/journalbeat { };
|
||||
|
||||
journaldriver = callPackage ../tools/misc/journaldriver { };
|
||||
|
||||
jp = callPackage ../development/tools/jp { };
|
||||
|
||||
jp2a = callPackage ../applications/misc/jp2a { };
|
||||
|
Loading…
Reference in New Issue
Block a user