about summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/mswatch/default.nix
blob: cf14a411efe6c5fad82fa367228def20aed87b36 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, stdenv
, fetchsvn
, pkg-config
, autoreconfHook
, bison
, flex
, glib
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "mswatch";
  # Stable release won't compile successfully
  version = "unstable-2018-11-21";

  src = fetchsvn {
    url = "svn://svn.code.sf.net/p/mswatch/code/trunk";
    rev = "369";
    sha256 = "sha256-czwwhchTizfgVmeknQGLijYgaFSP/45pD2yhDKj5BKw=";
  };
  nativeBuildInputs = [
    pkg-config
    autoreconfHook
    bison # For yacc
    flex
  ];
  buildInputs = [
    glib
  ];

  meta = with lib; {
    description = "Command-line Linux utility that efficiently directs mail synchronization between a pair of mailboxes";
    homepage = "https://mswatch.sourceforge.net/";
    license = licenses.gpl2Plus;
    platforms = platforms.linux;
    maintainers = with maintainers; [ doronbehar ];
  };
})