2023-06-15 12:25:58 +00:00
|
|
|
{ lib, stdenv, fetchzip, libgit2 }:
|
2021-02-04 18:37:59 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "l2md";
|
2021-11-18 21:51:14 +00:00
|
|
|
version = "unstable-2021-10-27";
|
2021-02-04 18:37:59 +00:00
|
|
|
|
2023-06-15 12:25:58 +00:00
|
|
|
src = fetchzip {
|
|
|
|
url = "https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/l2md.git/snapshot/l2md-9db252bc1716ebaf0abd3a47a59ea78e4e6253d6.tar.gz";
|
2021-11-18 21:51:14 +00:00
|
|
|
sha256 = "sha256-H/leDUwQM55akyXsmTnI2YsnG4i1KQtf4bBt1fizy8E=";
|
2021-02-04 18:37:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libgit2 ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp l2md $out/bin
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Convert public-inbox archives to maildir messages";
|
|
|
|
longDescription = ''
|
|
|
|
Quick and dirty hack to import lore.kernel.org list archives via git,
|
|
|
|
to export them in maildir format or through a pipe, and to keep them
|
|
|
|
periodically synced.
|
|
|
|
'';
|
|
|
|
homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/dborkman/l2md.git";
|
|
|
|
license = licenses.gpl2Only;
|
|
|
|
maintainers = with maintainers; [ yoctocell ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|