nixpkgs/pkgs/applications/misc/sampler/default.nix

30 lines
691 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub, alsa-lib }:
2019-08-20 09:34:15 +02:00
buildGoModule rec {
pname = "sampler";
2020-03-14 13:51:22 +01:00
version = "1.1.0";
2019-08-20 09:34:15 +02:00
src = fetchFromGitHub {
owner = "sqshq";
repo = pname;
rev = "v${version}";
2020-03-14 13:51:22 +01:00
sha256 = "1lanighxhnn28dfzils7i55zgxbw2abd6y723mq7x9wg1aa2bd0z";
2019-08-20 09:34:15 +02:00
};
vendorSha256 = "04nywhkil5xkipcibrp6vi63rfcvqgv7yxbxmmrhqys2cdxfvazv";
2019-08-20 09:34:15 +02:00
doCheck = false;
2019-08-20 09:34:15 +02:00
subPackages = [ "." ];
buildInputs = [ alsa-lib ];
2019-08-20 09:34:15 +02:00
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;
};
}