whatsie: init at 4.15.5 (#333700)

This commit is contained in:
Aleksana 2024-09-14 19:26:28 +08:00 committed by GitHub
commit 0ac2ba0f56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 64 additions and 0 deletions

View File

@ -742,6 +742,12 @@
githubId = 45179933;
name = "Alex Jackson";
};
ajgon = {
email = "igor@rzegocki.pl";
github = "ajgon";
githubId = 150545;
name = "Igor Rzegocki";
};
ajgrf = {
email = "a@ajgrf.com";
github = "ajgrf";

View File

@ -0,0 +1,58 @@
{
fetchFromGitHub,
lib,
stdenv,
libX11,
libxcb,
qt5,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "whatsie";
version = "4.15.5";
src = fetchFromGitHub {
owner = "keshavbhatt";
repo = "whatsie";
rev = "refs/tags/v${finalAttrs.version}";
hash = "sha256-6tczt9oPtcKvA59YqRHGOE2VFQLRNbyHpCJ6b4kzgks=";
};
sourceRoot = "${finalAttrs.src.name}/src";
buildInputs = [
libX11
libxcb
qt5.qtwebengine
];
nativeBuildInputs = [
qt5.wrapQtAppsHook
qt5.qmake
];
strictDeps = false;
enableParallelBuilding = true;
preBuild = ''
export QT_WEBENGINE_ICU_DATA_DIR=${qt5.qtwebengine.out}/resources
'';
installPhase = ''
runHook preInstall
install -Dm755 whatsie -t $out/bin
runHook postInstall
'';
meta = {
homepage = "https://github.com/keshavbhatt/whatsie";
description = "Feature rich WhatsApp Client for Desktop Linux";
license = lib.licenses.mit;
mainProgram = "whatsie";
maintainers = with lib.maintainers; [ ajgon ];
platforms = lib.platforms.linux;
};
})