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
43 lines
1010 B
Nix
43 lines
1010 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
libpulseaudio,
|
|
alsa-lib,
|
|
withPulseaudio ? true,
|
|
}:
|
|
rustPlatform.buildRustPackage (finalAttrs: {
|
|
pname = "scope-tui";
|
|
version = "0.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "alemidev";
|
|
repo = "scope-tui";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-bVe+Yyv+DcbEC15H968OhQhcFkAm7T5J6aQlKod5ocM=";
|
|
};
|
|
|
|
cargoHash = "sha256-o5pplwNtIe2z88ZwtCHree32kv16U/ryv8PmPIqxtPQ=";
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ alsa-lib ] ++ lib.optionals withPulseaudio [ libpulseaudio ];
|
|
|
|
buildFeatures = lib.optionals withPulseaudio [ "pulseaudio" ];
|
|
|
|
doCheck = false; # no tests
|
|
|
|
meta = {
|
|
description = "Simple oscilloscope/vectorscope/spectroscope for your terminal";
|
|
homepage = "https://github.com/alemidev/scope-tui";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [
|
|
iynaix
|
|
aleksana
|
|
];
|
|
mainProgram = "scope-tui";
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|