mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-25 06:13:54 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{ lib
|
|
, mkDerivation
|
|
, fetchFromSourcehut
|
|
, cmake
|
|
, extra-cmake-modules
|
|
, pkg-config
|
|
, kirigami2
|
|
, libdeltachat
|
|
, qtbase
|
|
, qtimageformats
|
|
, qtmultimedia
|
|
, qtwebengine
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "kdeltachat";
|
|
version = "unstable-2024-01-14";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~link2xt";
|
|
repo = "kdeltachat";
|
|
rev = "d61a01c2d6d5bdcc9ca500b466ed42689b2bd5c6";
|
|
hash = "sha256-KmL3ODXPi1c8C5z2ySHg0vA5Vg/dZumDZTbpxkzf7A4=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
extra-cmake-modules
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
kirigami2
|
|
libdeltachat
|
|
qtimageformats
|
|
qtmultimedia
|
|
qtwebengine
|
|
];
|
|
|
|
# needed for qmlplugindump to work
|
|
QT_PLUGIN_PATH = "${qtbase.bin}/${qtbase.qtPluginPrefix}";
|
|
QML2_IMPORT_PATH = lib.concatMapStringsSep ":"
|
|
(lib: "${lib}/${qtbase.qtQmlPrefix}")
|
|
[ kirigami2 qtmultimedia ];
|
|
|
|
meta = with lib; {
|
|
description = "Delta Chat client using Kirigami framework";
|
|
mainProgram = "kdeltachat";
|
|
homepage = "https://git.sr.ht/~link2xt/kdeltachat";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ dotlambda ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|