2016-06-21 13:24:45 +01:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchgit
|
|
|
|
, cmake
|
|
|
|
, qtbase
|
|
|
|
, qtwebkit
|
|
|
|
, makeQtWrapper
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "trojita-${version}";
|
|
|
|
version = "0.7";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "https://anongit.kde.org/trojita.git";
|
|
|
|
rev = "065d527c63e8e4a3ca0df73994f848b52e14ed58";
|
|
|
|
sha256 = "1zlwhir33hha2p3l08wnb4njnfdg69j88ycf1fa4q3x86qm3r7hw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cmake
|
|
|
|
qtbase
|
|
|
|
qtwebkit
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
makeQtWrapper
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapQtProgram "$out/bin/trojita"
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A Qt IMAP e-mail client";
|
|
|
|
homepage = http://trojita.flaska.net/;
|
|
|
|
license = with lib.licenses; [ gpl2 gpl3 ];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2016-06-21 13:24:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|