xin/pkgs/nheko.nix

29 lines
671 B
Nix
Raw Normal View History

2023-04-12 16:51:57 -06:00
{ lib, fetchurl, stdenv, undmg, ... }:
2022-08-25 12:21:35 -06:00
stdenv.mkDerivation rec {
pname = "nheko";
version = "0.10.0";
src = fetchurl {
url =
"https://github.com/Nheko-Reborn/nheko/releases/download/v${version}/nheko-v${version}.dmg";
hash = "sha256-t7evlvb+ueJZhtmt4KrOeXv2BZV8/fY4vj4GAmoCR2w=";
};
nativeBuildInputs = [ undmg ];
sourceRoot = ".";
installPhase = ''
mkdir -p $out/Applications
cp -a Nheko.app $out/Applications/
'';
meta = {
description = "Desktop client for Matrix using Qt and C++17";
homepage = "https://github.com/Nheko-Reborn/nheko";
license = lib.licenses.gpl3;
platforms = lib.platforms.darwin;
};
}