28 lines
666 B
Nix
28 lines
666 B
Nix
{ lib, buildGoModule, fetchFromGitHub, alsaLib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "sampler";
|
|
version = "1.1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sqshq";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1lanighxhnn28dfzils7i55zgxbw2abd6y723mq7x9wg1aa2bd0z";
|
|
};
|
|
|
|
modSha256 = "02ai193lpzsxdn1hpbndkfxdc88nyl4kcgbadhy122kgx13crcy8";
|
|
|
|
subPackages = [ "." ];
|
|
|
|
buildInputs = [ alsaLib ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool for shell commands execution, visualization and alerting";
|
|
homepage = "https://sampler.dev";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ uvnikita ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|