mirror of
https://github.com/NotAShelf/mpvrc.git
synced 2026-04-15 15:33:47 +00:00
nix: cleanup
This commit is contained in:
parent
93a724bb01
commit
0266e3930c
4 changed files with 21 additions and 13 deletions
7
flake.lock
generated
7
flake.lock
generated
|
|
@ -2,15 +2,16 @@
|
|||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1734880952,
|
||||
"narHash": "sha256-ZTt3x0DN55JGjdYv8TEDC/YDxcYfpFDLApYvKFMnxNM=",
|
||||
"lastModified": 1738680400,
|
||||
"narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "578baae41df4920fb34db92ae3a312c23ea90b89",
|
||||
"rev": "799ba5bffed04ced7067a91798353d360788b30d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,7 @@
|
|||
{
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
outputs = {nixpkgs, ...}: let
|
||||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
forEachSystem = nixpkgs.lib.genAttrs systems;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
})
|
||||
|
|
|
|||
|
|
@ -19,8 +19,10 @@ mkShell {
|
|||
gcc
|
||||
clippy
|
||||
rustfmt
|
||||
rustc
|
||||
|
||||
# For TLS and friends
|
||||
openssl
|
||||
pkg-config
|
||||
rustc
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue