This commit is contained in:
mtgmonkey 2025-07-04 14:33:21 -04:00
commit 0a2ec5f358
6 changed files with 4324 additions and 0 deletions

26
package.nix Normal file
View 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";
};
}