14 src = fetchFromGitHub {
18 hash = "sha256-9HiWgEtaMypLOwXJ6Xg3grLSZOQ4NInZtcvLPV51YO8=";
21 patches = [ ./glibc.patch ];
23 vendorHash = "sha256-k79TcC9voQROpJnyZ0RsqxJnBT83W5Z+D+D3HnuQGsI=";
26 substituteInPlace src/cmd/create.go --subst-var-by glibc ${glibc}
39 "-X github.com/containers/toolbox/pkg/version.currentVersion=${version}"
42 preCheck = "export PATH=$GOPATH/bin:$PATH";
47 go-md2man -in $d -out ''${d%.md}
49 installManPage doc/*.[1-9]
50 installShellCompletion --bash completion/bash/toolbox
51 install profile.d/toolbox.sh -Dt $out/share/profile.d
55 homepage = "https://containertoolbx.org";
56 changelog = "https://github.com/containers/toolbox/releases/tag/${version}";
57 description = "Tool for containerized command line environments on Linux";
58 license = licenses.asl20;
59 maintainers = with maintainers; [ urandom ];
60 mainProgram = "toolbox";