init
This commit is contained in:
commit
0a2ec5f358
6 changed files with 4324 additions and 0 deletions
26
package.nix
Normal file
26
package.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
busybox-sandbox-shell,
|
||||
lib,
|
||||
makeWrapper,
|
||||
naersk,
|
||||
pkg-config,
|
||||
...
|
||||
}:
|
||||
naersk.buildPackage rec {
|
||||
name = "rust_pty";
|
||||
src = ./.;
|
||||
buildInputs = [
|
||||
busybox-sandbox-shell
|
||||
];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
makeWrapper
|
||||
];
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/${meta.mainProgram}" --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath buildInputs}"
|
||||
'';
|
||||
meta = {
|
||||
mainProgram = "rust_term";
|
||||
homepage = "https://mtgmonkey.net";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue