nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit b52c90a3fe206fccdcdd8f02519ef23781e41dae
parent eee334a3f72c11e3e4acbe7f044a077758259dbe
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun,  5 May 2024 01:24:39 +0400

Up

Diffstat:
Mpkgs/mqtt/mqtt-explorer/default.nix | 16+++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/pkgs/mqtt/mqtt-explorer/default.nix b/pkgs/mqtt/mqtt-explorer/default.nix @@ -1,16 +1,22 @@ -{ lib, stdenv, appimageTools, fetchurl, undmg, makeWrapper }: +{ lib, stdenv, appimageTools, fetchfromgh, undmg, makeWrapper }: let pname = "mqtt-explorer"; version = "0.3.5"; srcs = { - x86_64-linux = fetchurl { - url = "https://github.com/thomasnordquist/MQTT-Explorer/releases/download/v${version}/MQTT-Explorer-${version}.AppImage"; + x86_64-linux = fetchfromgh { + owner = "thomasnordquist"; + repo = "MQTT-Explorer"; + name = "MQTT-Explorer-${version}.AppImage"; + version = "v${version}"; hash = "sha256-Yfz42+dVIx3xwIOmYltp5e9rYka+KskvQuxJVVBgbg4="; }; - x86_64-darwin = fetchurl { - url = "https://github.com/thomasnordquist/MQTT-Explorer/releases/download/v${version}/MQTT-Explorer-${version}.dmg"; + x86_64-darwin = fetchfromgh { + owner = "thomasnordquist"; + repo = "MQTT-Explorer"; + name = "MQTT-Explorer-${version}.dmg"; + version = "v${version}"; hash = "sha256-Cf2qgoxaNGpcaW0oA605vd5zQiZX1m54ccW8Tbe8qvU="; }; };