diff --git a/pkgs/by-name/op/openlinkhub/package.nix b/pkgs/by-name/op/openlinkhub/package.nix new file mode 100644 index 0000000000000..e900eacf869a5 --- /dev/null +++ b/pkgs/by-name/op/openlinkhub/package.nix @@ -0,0 +1,40 @@ +{ + buildGoModule, + lib, + fetchFromGitHub, + udev, + nix-update-script, + versionCheckHook, +}: + +buildGoModule rec { + pname = "openlinkhub"; + version = "0.4.4"; + + src = fetchFromGitHub { + owner = "jurkovic-nikola"; + repo = "OpenLinkHub"; + tag = version; + hash = "sha256-MpG2RJdzDGaoXfN8YdxqXttpsjAEslN5xGdkWyDWX/c="; + }; + + proxyVendor = true; + + vendorHash = "sha256-nDE3GUZl5OBSlhRpJBixUbWhhFMeieidNrSIzOOB/9g="; + + buildInputs = [ + udev + ]; + + passthru.updateScript = nix-update-script { }; + + meta = { + homepage = "https://github.com/jurkovic-nikola/OpenLinkHub"; + platforms = lib.platforms.linux; + description = "Open source interface for iCUE LINK Hub and other Corsair AIOs, Hubs for Linux"; + maintainers = with lib.maintainers; [ bot-wxt1221 ]; + license = lib.licenses.gpl3Only; + mainProgram = "OpenLinkHub"; + changelog = "https://github.com/jurkovic-nikola/OpenLinkHub/releases/tag/${version}"; + }; +}