default.nix (595B)
1 { 2 lib, 3 fetchFromGitHub, 4 buildGoModule, 5 }: 6 7 buildGoModule rec { 8 pname = "mqcontrol"; 9 version = "0.5.0"; 10 11 src = fetchFromGitHub { 12 owner = "albertnis"; 13 repo = "mqcontrol"; 14 rev = "v${version}"; 15 hash = "sha256-rsmWrKOEJjd74ElsaR7Rk7FsY0wwSgG/AzYB5LcmWNQ="; 16 }; 17 18 vendorHash = "sha256-tuSrIq2DHMy2KY2z3ZMAwC28UGHrZifAWmOFx5Y4pKU="; 19 20 meta = { 21 description = "Cross-platform utility to execute commands remotely using MQTT"; 22 homepage = "https://github.com/albertnis/mqcontrol"; 23 license = lib.licenses.free; 24 maintainers = [ lib.maintainers.sikmir ]; 25 }; 26 }