nixpkgs/pkgs/applications/networking/mailreaders/trojita/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

42 lines
717 B
Nix

{ 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 ];
platforms = stdenv.lib.platforms.linux;
};
}