Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
39 lines
924 B
Nix
39 lines
924 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
stdenv,
|
|
libusb1,
|
|
pkg-config,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "minidsp";
|
|
version = "0.1.12";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mrene";
|
|
repo = "minidsp-rs";
|
|
rev = "v${version}";
|
|
hash = "sha256-8bKP9/byVRKj1P1MP3ZVg8yw0WaNB0BcqarCti7B8CA=";
|
|
};
|
|
|
|
cargoHash = "sha256-JIm0XcgqXGPXlkQ1rhG5D38bQkQT9K44F71ZaCT2g8o=";
|
|
|
|
cargoBuildFlags = [ "-p minidsp -p minidsp-daemon" ];
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ libusb1 ];
|
|
|
|
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ pkg-config ];
|
|
|
|
meta = with lib; {
|
|
description = "Control interface for some MiniDSP products";
|
|
homepage = "https://github.com/mrene/minidsp-rs";
|
|
license = licenses.asl20;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = [
|
|
maintainers.adamcstephens
|
|
maintainers.mrene
|
|
];
|
|
};
|
|
}
|