Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 33 lines 733 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitLab, 5}: 6 7buildGoModule rec { 8 pname = "bluewalker"; 9 version = "0.3.1"; 10 11 src = fetchFromGitLab { 12 owner = "jtaimisto"; 13 repo = "bluewalker"; 14 rev = "v${version}"; 15 hash = "sha256-wAzBlCczsLfHboGYIsyN7dGwz52CMw+L3XQ0njfLVR0="; 16 }; 17 18 vendorHash = "sha256-kHwj6FNWIonaHKy4QE0/UcuOfHAPE1al5nuYXrfROKE="; 19 20 ldflags = [ 21 "-w" 22 "-s" 23 ]; 24 25 meta = { 26 description = "Simple command line Bluetooth LE scanner"; 27 homepage = "https://gitlab.com/jtaimisto/bluewalker"; 28 changelog = "https://gitlab.com/jtaimisto/bluewalker/-/tags/v${version}"; 29 license = lib.licenses.bsd2; 30 maintainers = with lib.maintainers; [ cimm ]; 31 platforms = lib.platforms.linux; 32 }; 33}