python3Packages.django-ical: init at 1.9.2 (#503593)
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
django,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pytest-django,
|
||||
pytestCheckHook,
|
||||
setuptools-scm,
|
||||
icalendar,
|
||||
django-recurrence,
|
||||
}:
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "django-ical";
|
||||
version = "1.9.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jazzband";
|
||||
repo = "django-ical";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-DUe0loayGcUS7MTyLn+g0KBxbIY7VsaoQNHGSMbMI3U=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools-scm ];
|
||||
|
||||
dependencies = [
|
||||
django
|
||||
django-recurrence
|
||||
icalendar
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export DJANGO_SETTINGS_MODULE=test_settings
|
||||
'';
|
||||
|
||||
disabledTestPaths = [
|
||||
# AssertionError: 'Japan' != 'JST': there seems to be wrong raw data feed
|
||||
"django_ical/tests/test_feed.py::ICal20FeedTest::test_timezone"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"django_ical"
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-django
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "iCal feeds for Django based on Django's syndication feed framework";
|
||||
homepage = "https://github.com/jazzband/django-ical";
|
||||
changelog = "https://github.com/jazzband/django-ical/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ kurogeek ];
|
||||
};
|
||||
})
|
||||
@@ -4206,6 +4206,8 @@ self: super: with self; {
|
||||
|
||||
django-i18nfield = callPackage ../development/python-modules/django-i18nfield { };
|
||||
|
||||
django-ical = callPackage ../development/python-modules/django-ical { };
|
||||
|
||||
django-import-export = callPackage ../development/python-modules/django-import-export { };
|
||||
|
||||
django-ipware = callPackage ../development/python-modules/django-ipware { };
|
||||
|
||||
Reference in New Issue
Block a user