nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 50 lines 1.1 kB view raw
1{ 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 versionCheckHook, 6}: 7 8python3Packages.buildPythonApplication rec { 9 pname = "ical2orgpy"; 10 version = "0.5"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "ical2org-py"; 15 repo = "ical2org.py"; 16 tag = version; 17 hash = "sha256-vBi1WYXMuDFS/PnwFQ/fqN5+gIvtylXidfZklyd6LcI="; 18 }; 19 20 build-system = [ python3Packages.setuptools ]; 21 22 dependencies = with python3Packages; [ 23 click 24 icalendar 25 pytz 26 tzlocal 27 recurring-ical-events 28 ]; 29 30 pythonRemoveDeps = [ "future" ]; 31 32 nativeCheckInputs = with python3Packages; [ 33 freezegun 34 pytestCheckHook 35 pyyaml 36 versionCheckHook 37 ]; 38 39 pythonImportsCheck = [ "ical2orgpy" ]; 40 41 meta = { 42 changelog = "https://github.com/ical2org-py/ical2org.py/blob/${src.tag}/CHANGELOG.rst"; 43 description = "Converting ICAL file into org-mode format"; 44 homepage = "https://github.com/ical2org-py/ical2org.py"; 45 license = lib.licenses.gpl3Only; 46 maintainers = with lib.maintainers; [ StillerHarpo ]; 47 mainProgram = "ical2orgpy"; 48 }; 49 50}