Skip to content

Commit

Permalink
Merge pull request NixOS#257379 from dotlambda/ical2orgpy-0.5
Browse files Browse the repository at this point in the history
ical2orgpy: 0.4.0 -> 0.5
  • Loading branch information
doronbehar committed Sep 28, 2023
2 parents 8de702a + 913a580 commit c6f7654
Showing 1 changed file with 23 additions and 13 deletions.
36 changes: 23 additions & 13 deletions pkgs/tools/misc/ical2orgpy/default.nix
Original file line number Diff line number Diff line change
@@ -1,31 +1,41 @@
{ lib, python3Packages, fetchPypi, ... }:
{ lib
, python3
, fetchFromGitHub
}:

python3Packages.buildPythonPackage rec {
python3.pkgs.buildPythonApplication rec {
pname = "ical2orgpy";
version = "0.4.0";
version = "0.5";

src = fetchPypi {
inherit pname version;
sha256 = "sha256-7/kWW1oTSJXPJtN02uIDrFdNJ9ExKRUa3tUNA0oJSoc=";
};
format = "setuptools";

disabled = python3Packages.pythonOlder "3.9";
src = fetchFromGitHub {
owner = "ical2org-py";
repo = "ical2org.py";
rev = version;
hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI=";
};

propagatedBuildInputs = with python3Packages; [
propagatedBuildInputs = with python3.pkgs; [
click
future
icalendar
pytz
tzlocal
recurring-ical-events
];
checkInputs = with python3Packages; [ freezegun pytest pyyaml ];
nativeBuildInputs = [ python3Packages.pbr ];

nativeCheckInputs = with python3.pkgs; [
freezegun
pytestCheckHook
pyyaml
];

meta = with lib; {
description = "Converting ICAL file into org-mode format.";
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.gpl3;
license = licenses.gpl3Only;
maintainers = with maintainers; [ StillerHarpo ];
};

Expand Down

0 comments on commit c6f7654

Please sign in to comment.