flake reorg

This commit is contained in:
Robin Appelman 2024-09-27 17:40:09 +02:00
commit 2a34eee2f1
11 changed files with 179 additions and 285 deletions

View file

@ -1,18 +1,19 @@
{
stdenv,
rustPlatform,
lib,
}: let
{ stdenv
, rustPlatform
, lib
,
}:
let
inherit (lib.sources) sourceByRegex;
src = sourceByRegex ../logging-extractor ["Cargo.*" "(src|tests|test-data)(/.*)?"];
src = sourceByRegex ../logging-extractor [ "Cargo.*" "(src|tests|test-data)(/.*)?" ];
in
rustPlatform.buildRustPackage rec {
pname = "logging-extractor";
version = "0.1.0";
rustPlatform.buildRustPackage rec {
pname = "logging-extractor";
version = "0.1.0";
inherit src;
inherit src;
cargoLock = {
lockFile = ../logging-extractor/Cargo.lock;
};
}
cargoLock = {
lockFile = ../logging-extractor/Cargo.lock;
};
}