feat: initial commit

This commit is contained in:
uku 2025-05-08 17:32:55 +02:00
commit 82a09ddf26
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
10 changed files with 515 additions and 0 deletions

32
package.nix Normal file
View file

@ -0,0 +1,32 @@
{
lib,
rustPlatform,
mold-wrapped,
self,
}:
let
cargoToml = lib.importTOML ./Cargo.toml;
rev = self.shortRev or self.dirtyShortRev or "dirty";
in
rustPlatform.buildRustPackage {
pname = cargoToml.package.name;
version = "${cargoToml.package.version}+git.${rev}";
src = self;
nativeBuildInputs = [ mold-wrapped ];
cargoLock.lockFile = ./Cargo.lock;
RUSTFLAGS = "-C link-arg=-fuse-ld=mold";
doCheck = false;
meta = with lib; {
mainProgram = cargoToml.package.name;
description = "simple tool to convert, upload, and embed videos to zipline";
homepage = "https://git.uku3lig.net/uku/tyrolienne";
license = licenses.mpl20;
platforms = platforms.unix;
};
}