nix: init tooling

This commit is contained in:
raf 2024-12-22 18:44:11 +03:00
commit b78133a5c4
No known key found for this signature in database
GPG key ID: EED98D11B85A2819
5 changed files with 89 additions and 0 deletions

12
nix/package.nix Normal file
View file

@ -0,0 +1,12 @@
{rustPlatform}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mrc";
version = "0.0.1";
src = ./.;
cargoLock.lockFile = finalAttrs.src + /Cargo.lock;
meta = {
description = "MPV IPC wrapper";
mainProgram = "mrc";
};
})