nixpkgs/pkgs/tools/networking/mutt-ics/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

23 lines
573 B
Nix

{ lib, python3, fetchPypi }:
with python3.pkgs; buildPythonApplication rec {
pname = "mutt-ics";
version = "0.9.2";
src = fetchPypi {
inherit version;
pname = "mutt_ics";
sha256 = "d44d4bec4e71c7f14df01b90fdb9563cdc784ece4250abfea5b0b675cfe85a50";
};
propagatedBuildInputs = [ icalendar ];
meta = with lib; {
homepage = "https://github.com/dmedvinsky/mutt-ics";
description = "A tool to show calendar event details in Mutt";
mainProgram = "mutt-ics";
license = licenses.mit;
maintainers = with maintainers; [ mh182 ];
};
}