forked from mirrors/nixpkgs
46 lines
866 B
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-17";
|
|
|
|
src = fetchFromSourcehut {
|
|
owner = "~link2xt";
|
|
repo = "kdeltachat";
|
|
rev = "9e5fe2dc856795d0d3d8b6a3adf3fdd3015d9158";
|
|
sha256 = "12arcrnpacq2fbjbzs6a9yz6lfsj2dkga9chpld1ran3v6by58z9";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|