log-normalizer/nix/package.nix
Robin Appelman 2fe9c49f4e
All checks were successful
CI / checks (push) Successful in 47s
keep grouped_drop_kills as table
2026-11-19 21:41:22 +01:00

22 lines
409 B
Nix

{
stdenv,
rustPlatform,
postgresql,
lib,
}: let
inherit (lib.sources) sourceByRegex;
src = sourceByRegex ../. ["Cargo.*" "(src|tests|.sqlx)(/.*)?" "schema.sql"];
in
rustPlatform.buildRustPackage rec {
pname = "log-normalizer";
version = "0.1.0";
SQLX_OFFLINE = 1;
inherit src;
cargoLock = {
lockFile = ../Cargo.lock;
};
nativeBuildInputs = [postgresql];
}