Initial Commit

This commit is contained in:
kossLAN 2024-10-23 04:44:29 -04:00
parent 5b45525331
commit 7f8d940ef5
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
12 changed files with 2901 additions and 2 deletions

26
nix/package.nix Normal file
View file

@ -0,0 +1,26 @@
{
stdenv,
pkgs,
...
}:
stdenv.mkDerivation {
pname = "tinyupload";
version = "1.0.0";
src = ../.;
buildInputs = [pkgs.cargo];
# Specify the build commands
buildPhase = ''
cargo build --release
'';
# Optionally, specify installPhase if needed
installPhase = ''
# If you have specific install steps, add them here
# For example, copying files to $out
mkdir -p $out/bin
cp target/release/tinyupload $out/bin
'';
}