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

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

33 lines
789 B
Nix
Raw Normal View History

2023-06-09 12:13:07 +00:00
{ lib, python3Packages, fetchPypi, ... }:
2022-11-26 10:10:20 +00:00
python3Packages.buildPythonPackage rec {
pname = "ical2orgpy";
version = "0.4.0";
2023-06-09 12:13:07 +00:00
src = fetchPypi {
2022-11-26 10:10:20 +00:00
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 ];
};
}