46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
38 lines
600 B
Nix
38 lines
600 B
Nix
{ mkDerivation
|
|
, lib
|
|
, fetchurl
|
|
, cmake
|
|
, qtbase
|
|
, qtwebkit
|
|
, qttools
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "trojita";
|
|
version = "0.7";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/trojita/trojita/${pname}-${version}.tar.xz";
|
|
sha256 = "1n9n07md23ny6asyw0xpih37vlwzp7vawbkprl7a1bqwfa0si3g0";
|
|
};
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qtwebkit
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
qttools
|
|
];
|
|
|
|
|
|
meta = with lib; {
|
|
description = "A Qt IMAP e-mail client";
|
|
homepage = http://trojita.flaska.net/;
|
|
license = with licenses; [ gpl2 gpl3 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
|
|
}
|