Files
nixpkgs/pkgs/development/python-modules/podgen/default.nix
Ethan Carter Edwards 1f95d58510 python3Packages.podgen: init at 1.1.0
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
2025-01-31 08:57:02 -05:00

67 lines
1.2 KiB
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
dateutils,
future,
lxml,
python-dateutil,
pytz,
requests,
tinytag,
pytest-mock,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "podgen";
version = "1.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "tobinus";
repo = "python-podgen";
tag = "v${version}";
hash = "sha256-IlTbKWNdEHJmEPdslKphZLB5IVERxNL/wqCMbJDHkD4=";
};
build-system = [
setuptools
];
dependencies = [
dateutils
future
lxml
python-dateutil
pytz
requests
tinytag
];
pythonImportsCheck = [ "podgen" ];
nativeCheckInputs = [
pytest-mock
pytestCheckHook
];
disabledTestPaths = [
# test requires downloading content
"podgen/tests/test_media.py"
];
meta = {
description = "Python module to generate Podcast feeds";
downloadPage = "https://github.com/tobinus/python-podgen";
changelog = "https://github.com/tobinus/python-podgen/blob/v${version}/CHANGELOG.md";
homepage = "https://podgen.readthedocs.io/en/latest/";
license = with lib.licenses; [
bsd2
lgpl3
];
maintainers = with lib.maintainers; [ ethancedwards8 ];
};
}