package.nix (676B)
1 { 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 }: 6 7 buildGoModule (finalAttrs: { 8 pname = "mqcontrol"; 9 version = "0.5.1"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "albertnis"; 15 repo = "mqcontrol"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-qztn2DSsna7VJnHPSQJn2vUVIAIOC+D4YLihcsagonk="; 18 }; 19 20 vendorHash = "sha256-oLko4fdABrcrSs/hm8p4ELvhzB/VgWvEjIlA3u7DCGk="; 21 22 meta = { 23 description = "Cross-platform utility to execute commands remotely using MQTT"; 24 homepage = "https://github.com/albertnis/mqcontrol"; 25 license = lib.licenses.free; 26 maintainers = [ lib.maintainers.sikmir ]; 27 mainProgram = "mqcontrol"; 28 }; 29 })
