depot/third_party/nixpkgs/pkgs/tools/misc/ical2orgpy/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

32 lines
789 B
Nix

{ lib, python3Packages, fetchPypi, ... }:
python3Packages.buildPythonPackage rec {
pname = "ical2orgpy";
version = "0.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7/kWW1oTSJXPJtN02uIDrFdNJ9ExKRUa3tUNA0oJSoc=";
};
disabled = python3Packages.pythonOlder "3.9";
propagatedBuildInputs = with python3Packages; [
click
future
icalendar
pytz
tzlocal
recurring-ical-events
];
checkInputs = with python3Packages; [ freezegun pytest pyyaml ];
nativeBuildInputs = [ python3Packages.pbr ];
meta = with lib; {
description = "Converting ICAL file into org-mode format.";
homepage = "https://github.com/ical2org-py/ical2org.py";
license = licenses.gpl3;
maintainers = with maintainers; [ StillerHarpo ];
};
}