Files
nixpkgs/pkgs/development/python-modules/recurring-ical-events/default.nix
T
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00

51 lines
1.1 KiB
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, icalendar
, pytz
, python-dateutil
, x-wr-timezone
, pytestCheckHook
, restructuredtext_lint
, pygments
, tzdata
}:
buildPythonPackage rec {
pname = "recurring-ical-events";
version = "2.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "niccokunzmann";
repo = "python-recurring-ical-events";
rev = "v${version}";
hash = "sha256-B6oLy4Ai30SGGTgGcO0V+f1mf1P1W8sMpzk7oIUtcJY=";
};
propagatedBuildInputs = [
icalendar
pytz
python-dateutil
x-wr-timezone
];
nativeCheckInputs = [
pytestCheckHook
restructuredtext_lint
pygments
tzdata
];
pythonImportsCheck = [ "recurring_ical_events" ];
meta = {
changelog = "https://github.com/niccokunzmann/python-recurring-ical-events/blob/${src.rev}/README.rst#changelog";
description = "Repeat ICalendar events by RRULE, RDATE and EXDATE";
homepage = "https://github.com/niccokunzmann/python-recurring-ical-events";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ dotlambda ];
};
}