37 lines
588 B
Nix
37 lines
588 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
pkgs,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "musicfs";
|
|
version = "0.1.0";
|
|
|
|
src = ./.;
|
|
|
|
cargoLock = {
|
|
lockFile = ./Cargo.lock;
|
|
};
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
pkg-config
|
|
protobuf
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
openssl
|
|
fuse3
|
|
sqlite
|
|
];
|
|
|
|
PROTOC = "${pkgs.protobuf}/bin/protoc";
|
|
|
|
meta = {
|
|
description = "MusicFS - FUSE filesystem for music with metadata overlay";
|
|
homepage = "https://github.com/LichHunter/MusicFS";
|
|
license = lib.licenses.unlicense;
|
|
maintainers = [ ];
|
|
};
|
|
})
|