nixpkgs/pkgs/tools/misc/ical2orgpy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

44 lines
913 B
Nix
Raw Normal View History

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