1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 dateutils, 7 future, 8 lxml, 9 python-dateutil, 10 pytz, 11 requests, 12 tinytag, 13 pytest-mock, 14 pytestCheckHook, 15}: 16 17buildPythonPackage rec { 18 pname = "podgen"; 19 version = "1.1.0"; 20 pyproject = true; 21 22 src = fetchFromGitHub { 23 owner = "tobinus"; 24 repo = "python-podgen"; 25 tag = "v${version}"; 26 hash = "sha256-IlTbKWNdEHJmEPdslKphZLB5IVERxNL/wqCMbJDHkD4="; 27 }; 28 29 build-system = [ 30 setuptools 31 ]; 32 33 dependencies = [ 34 dateutils 35 future 36 lxml 37 python-dateutil 38 pytz 39 requests 40 tinytag 41 ]; 42 43 pythonImportsCheck = [ "podgen" ]; 44 45 nativeCheckInputs = [ 46 pytest-mock 47 pytestCheckHook 48 ]; 49 50 disabledTestPaths = [ 51 # test requires downloading content 52 "podgen/tests/test_media.py" 53 ]; 54 55 meta = { 56 description = "Python module to generate Podcast feeds"; 57 downloadPage = "https://github.com/tobinus/python-podgen"; 58 changelog = "https://github.com/tobinus/python-podgen/blob/v${version}/CHANGELOG.md"; 59 homepage = "https://podgen.readthedocs.io/en/latest/"; 60 license = with lib.licenses; [ 61 bsd2 62 lgpl3 63 ]; 64 maintainers = with lib.maintainers; [ ethancedwards8 ]; 65 }; 66}