nix: cleanup

This commit is contained in:
raf 2025-02-05 04:03:51 +03:00
commit 0266e3930c
No known key found for this signature in database
GPG key ID: EED98D11B85A2819
4 changed files with 21 additions and 13 deletions

View file

@ -1,12 +1,20 @@
{rustPlatform}:
{
lib,
rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "mrc";
version = "0.0.1";
src = ./.;
version = "0.1.0";
src = builtins.path {
path = ../.;
name = "mrc";
};
cargoLock.lockFile = finalAttrs.src + /Cargo.lock;
meta = {
description = "MPV IPC wrapper";
description = "IPC wrapper & command-line controller for MPV, the video player ";
mainProgram = "mrc";
license = lib.licenses.mpl20;
};
})