lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at master 44 lines 1.0 kB view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 fetchpatch, 6 alsa-lib, 7 stdenv, 8}: 9 10buildGoModule rec { 11 pname = "sampler"; 12 version = "1.1.0"; 13 14 src = fetchFromGitHub { 15 owner = "sqshq"; 16 repo = "sampler"; 17 rev = "v${version}"; 18 hash = "sha256-H7QllAqPp35wHeJ405YSfPX3S4lH0/hdQ8Ja2OGLVtE="; 19 }; 20 21 patches = [ 22 # fix build with go 1.17 23 (fetchpatch { 24 url = "https://github.com/sqshq/sampler/commit/97a4a0ebe396a780d62f50f112a99b27044e832b.patch"; 25 hash = "sha256-c9nP92YHKvdc156OXgYVoyNNa5TkoFeDa78WxOTR9rM="; 26 }) 27 ]; 28 29 vendorHash = "sha256-UZLF/oJbWUKwIPyWcT1QX+rIU5SRnav/3GLq2xT+jgk="; 30 31 doCheck = false; 32 33 subPackages = [ "." ]; 34 35 buildInputs = lib.optional stdenv.hostPlatform.isLinux alsa-lib; 36 37 meta = with lib; { 38 description = "Tool for shell commands execution, visualization and alerting"; 39 homepage = "https://sampler.dev"; 40 license = licenses.gpl3; 41 maintainers = with maintainers; [ uvnikita ]; 42 mainProgram = "sampler"; 43 }; 44}