nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 57 lines 1.0 kB view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 poetry-core, 7 icalendar, 8 pook, 9 python-dateutil, 10 pytz, 11 urllib3, 12}: 13 14buildPythonPackage rec { 15 pname = "icalevents"; 16 version = "0.3.1"; 17 pyproject = true; 18 19 src = fetchFromGitHub { 20 owner = "jazzband"; 21 repo = "icalevents"; 22 tag = version; 23 hash = "sha256-QDqmcZY/UANVKRjk1ZFEFHgrjtD+hXE4qd3tX64sE7c="; 24 }; 25 26 build-system = [ 27 poetry-core 28 ]; 29 30 dependencies = [ 31 icalendar 32 python-dateutil 33 pytz 34 urllib3 35 ]; 36 37 nativeCheckInputs = [ 38 pook 39 pytestCheckHook 40 ]; 41 42 disabledTests = [ 43 # Makes HTTP calls 44 "test_events_url" 45 "test_events_async_url" 46 ]; 47 48 pythonImportsCheck = [ "icalevents" ]; 49 50 meta = { 51 changelog = "https://github.com/jazzband/icalevents/releases/tag/${src.tag}"; 52 description = "Python module for iCal URL/file parsing and querying"; 53 homepage = "https://github.com/jazzband/icalevents"; 54 maintainers = with lib.maintainers; [ jamiemagee ]; 55 license = lib.licenses.mit; 56 }; 57}