feat(pg-schema): init

This commit is contained in:
2025-03-02 10:48:52 +00:00
parent 4d1c210986
commit e8e2890171
6 changed files with 1690 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{
cargoToml,
nativeBuildInputs,
pkgs,
...
}: let
src = ./.;
cargo = cargoToml src;
in
pkgs.rustPlatform.buildRustPackage {
pname = cargo.package.name;
version = cargo.package.version;
inherit nativeBuildInputs src;
cargoLock.lockFile = ./Cargo.lock;
cargoTestFlags = [
"--bin ${cargo.package.name}"
];
cargoBuildFlags = [
"--bin ${cargo.package.name}"
];
doCheck = true;
}