depot/third_party/nixpkgs/pkgs/tools/misc/ical2orgpy/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

43 lines
913 B
Nix

{ lib
, python3
, fetchFromGitHub
}:
python3.pkgs.buildPythonApplication rec {
pname = "ical2orgpy";
version = "0.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "ical2org-py";
repo = "ical2org.py";
rev = version;
hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI=";
};
propagatedBuildInputs = with python3.pkgs; [
click
future
icalendar
pytz
tzlocal
recurring-ical-events
];
nativeCheckInputs = with python3.pkgs; [
freezegun
pytestCheckHook
pyyaml
];
meta = with lib; {
changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.rev}/CHANGELOG.rst";
description = "Converting ICAL file into org-mode format";
homepage = "https://github.com/ical2org-py/ical2org.py";
license = licenses.gpl3Only;
maintainers = with maintainers; [ StillerHarpo ];
mainProgram = "ical2orgpy";
};
}