about summary refs log tree commit diff
path: root/pkgs/build-support/kernel/make-initrd-ng-tool.nix
blob: 5e08c091c05497651b79185c6e00e773a5127686 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ rustPlatform, lib, makeWrapper, patchelf, glibc, binutils }:

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; [ das_j elvishjerricco k900 lheckemann ];
    license = lib.licenses.mit;
  };
}