nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchsvn,
5 pkg-config,
6 autoreconfHook,
7 bison,
8 flex,
9 glib,
10}:
11
12stdenv.mkDerivation (finalAttrs: {
13 pname = "mswatch";
14 # Stable release won't compile successfully
15 version = "unstable-2018-11-21";
16
17 src = fetchsvn {
18 url = "svn://svn.code.sf.net/p/mswatch/code/trunk";
19 rev = "369";
20 sha256 = "sha256-czwwhchTizfgVmeknQGLijYgaFSP/45pD2yhDKj5BKw=";
21 };
22 nativeBuildInputs = [
23 pkg-config
24 autoreconfHook
25 bison # For yacc
26 flex
27 ];
28 buildInputs = [
29 glib
30 ];
31
32 meta = {
33 description = "Command-line Linux utility that efficiently directs mail synchronization between a pair of mailboxes";
34 homepage = "https://mswatch.sourceforge.net/";
35 license = lib.licenses.gpl2Plus;
36 platforms = lib.platforms.linux;
37 maintainers = with lib.maintainers; [ doronbehar ];
38 };
39})