summaryrefslogtreecommitdiffstats
path: root/pkgs/build-support/kernel/make-initrd-ng-tool.nix
blob: 2b765682780de5ce64a4a230a8ab6a59bccc2641 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  rustPlatform,
  lib,
}:

rustPlatform.buildRustPackage {
  pname = "make-initrd-ng";
  version = "0.1.0";

  src = ./make-initrd-ng;
  cargoLock.lockFile = ./make-initrd-ng/Cargo.lock;

  passthru.updateScript = ./make-initrd-ng/update.sh;

  meta = {
    description = "Tool for copying binaries and their dependencies";
    mainProgram = "make-initrd-ng";
    maintainers = with lib.maintainers; [
      elvishjerricco
      k900
    ];
    license = lib.licenses.mit;
  };
}