mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
42 lines
673 B
Nix
42 lines
673 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 ];
|
||
|
};
|
||
|
|
||
|
}
|