nixpkgs-suyu/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

29 lines
706 B
Nix

{ lib, python3, fetchPypi }:
python3.pkgs.buildPythonApplication rec {
pname = "mlarchive2maildir";
version = "0.0.9";
src = fetchPypi {
inherit pname version;
sha256 = "02zjwa7zbcbqj76l0qmg7bbf3fqli60pl2apby3j4zwzcrrryczs";
};
nativeBuildInputs = with python3.pkgs; [ setuptools-scm ];
propagatedBuildInputs = with python3.pkgs; [
beautifulsoup4
click
click-log
requests
six
];
meta = with lib; {
homepage = "https://github.com/flokli/mlarchive2maildir";
description = "Imports mail from (pipermail) archives into a maildir";
mainProgram = "mlarchive2maildir";
license = licenses.mit;
maintainers = with maintainers; [ flokli ];
};
}