diff options
Diffstat (limited to 'pkgs/applications/misc/sampler/default.nix')
-rw-r--r-- | pkgs/applications/misc/sampler/default.nix | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/applications/misc/sampler/default.nix b/pkgs/applications/misc/sampler/default.nix deleted file mode 100644 index a111142bbde4..000000000000 --- a/pkgs/applications/misc/sampler/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ lib, buildGoModule, fetchFromGitHub, fetchpatch, darwin, alsa-lib, stdenv }: - -buildGoModule rec { - pname = "sampler"; - version = "1.1.0"; - - src = fetchFromGitHub { - owner = "sqshq"; - repo = pname; - rev = "v${version}"; - hash = "sha256-H7QllAqPp35wHeJ405YSfPX3S4lH0/hdQ8Ja2OGLVtE="; - }; - - patches = [ - # fix build with go 1.17 - (fetchpatch { - url = "https://github.com/sqshq/sampler/commit/97a4a0ebe396a780d62f50f112a99b27044e832b.patch"; - hash = "sha256-c9nP92YHKvdc156OXgYVoyNNa5TkoFeDa78WxOTR9rM="; - }) - ]; - - vendorHash = "sha256-UZLF/oJbWUKwIPyWcT1QX+rIU5SRnav/3GLq2xT+jgk="; - - doCheck = false; - - subPackages = [ "." ]; - - buildInputs = lib.optional stdenv.isLinux alsa-lib - ++ lib.optionals stdenv.isDarwin [ - darwin.apple_sdk.frameworks.OpenAL - ]; - - meta = with lib; { - description = "Tool for shell commands execution, visualization and alerting"; - homepage = "https://sampler.dev"; - license = licenses.gpl3; - maintainers = with maintainers; [ uvnikita ]; - mainProgram = "sampler"; - }; -} |