Skip to content

Commit

Permalink
vercel-log-drain: init at 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Aug 5, 2024
1 parent 256ffbd commit e7a9a1f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions pkgs/server/vercel-log-drain.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
, stdenv
, darwin
}:

rustPlatform.buildRustPackage {
pname = "vercel-log-drain";
version = "0.0.3";

src = fetchFromGitHub {
owner = "dacbd";
repo = "vercel-log-drain";
rev = "df4ddace599e9a8c2ac57c27cbb9e39e0c7c52ee";
hash = "sha256-AmKYPmJ5GCbLu+LB3uObagHjIg2ahsg6kmBWLVF3ACw=";
};

cargoHash = "sha256-v/GxeBmR6qhUna3PjZhi9wAEwdmC1t7m6ysfNJ/pfyU=";

nativeBuildInputs = [
pkg-config
];

buildInputs = [
openssl
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

meta = with lib; {
description = "A simple log-drain you can deploy to export log messages from Vercel to AWS Cloudwatch";
homepage = "https://github.com/dacbd/vercel-log-drain";
license = licenses.mit;
maintainers = with maintainers; [ jpetrucciani ];
mainProgram = "vercel-log-drain";
};
}

0 comments on commit e7a9a1f

Please sign in to comment.