nixpkgs/pkgs/applications/networking/instant-messengers/kdeltachat/default.nix

46 lines
866 B
Nix

{ lib
, mkDerivation
, fetchFromSourcehut
, cmake
, extra-cmake-modules
, pkg-config
, kirigami2
, libdeltachat
, qtimageformats
, qtmultimedia
, qtwebengine
}:
mkDerivation rec {
pname = "kdeltachat";
version = "unstable-2021-07-04";
src = fetchFromSourcehut {
owner = "~link2xt";
repo = "kdeltachat";
rev = "5d3cddc47773b49d4a801d031c1de96c38617908";
sha256 = "1sah27pvdkilnyj41xf4awri9ya14gxayr99qksllz92ywd9lxad";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
pkg-config
];
buildInputs = [
kirigami2
libdeltachat
qtimageformats
qtmultimedia
qtwebengine
];
meta = with lib; {
description = "Delta Chat client using Kirigami framework";
homepage = "https://git.sr.ht/~link2xt/kdeltachat";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ dotlambda ];
};
}