diff --git a/pkgs/applications/networking/mailreaders/mswatch/default.nix b/pkgs/applications/networking/mailreaders/mswatch/default.nix new file mode 100644 index 000000000000..41f0ac2fe488 --- /dev/null +++ b/pkgs/applications/networking/mailreaders/mswatch/default.nix @@ -0,0 +1,37 @@ +{ lib +, stdenv +, fetchzip +, pkg-config +, autoreconfHook +, bison +, flex +, glib +}: + +stdenv.mkDerivation rec { + pname = "mswatch"; + # Stable release won't compile successfully + version = "unstable-2018-11-21"; + + src = fetchzip { + url = "https://sourceforge.net/code-snapshots/svn/m/ms/mswatch/code/mswatch-code-r369-trunk.zip"; + hash = "sha256-czwwhchTizfgVmeknQGLijYgaFSP/45pD2yhDKj5BKw="; + }; + nativeBuildInputs = [ + pkg-config + autoreconfHook + bison # For yacc + flex + ]; + buildInputs = [ + glib + ]; + + meta = with lib; { + description = "A 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bef5de9b8de2..9d1d858365a0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -429,6 +429,8 @@ with pkgs; chatgpt-retrieval-plugin = callPackage ../servers/chatgpt-retrieval-plugin { }; + mswatch = callPackage ../applications/networking/mailreaders/mswatch { }; + chef-cli = callPackage ../tools/misc/chef-cli { }; checkov = callPackage ../development/tools/analysis/checkov {