nixpkgs/pkgs/applications/networking/mailreaders/trojita/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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;
};
}