mirror of
https://codeberg.org/icewind/logsmash.git
synced 2026-06-03 10:04:12 +02:00
ci
This commit is contained in:
parent
58721666b8
commit
169134bd53
5 changed files with 109 additions and 16 deletions
|
|
@ -26,4 +26,5 @@ in {
|
|||
name = "extracted-logs";
|
||||
paths = flatten (map attrValues (attrValues final.extracted-logs-parts-rust));
|
||||
};
|
||||
logsmash = final.callPackage ./package.nix {};
|
||||
}
|
||||
|
|
|
|||
23
nix/package.nix
Normal file
23
nix/package.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
stdenv,
|
||||
makeRustPlatform,
|
||||
rust-bin,
|
||||
lib,
|
||||
}: let
|
||||
inherit (lib.sources) sourceByRegex;
|
||||
src = sourceByRegex ../. ["Cargo.*" "(src|data)(/.*)?"];
|
||||
rustPlatform = makeRustPlatform {
|
||||
cargo = rust-bin.stable.latest.default;
|
||||
rustc = rust-bin.stable.latest.default;
|
||||
};
|
||||
in
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "logsmash";
|
||||
version = "0.1.0";
|
||||
|
||||
inherit src;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ../Cargo.lock;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue