python3Packages.podgen: init at 1.1.0
Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
{
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
@@ -10920,6 +10920,8 @@ self: super: with self; {
|
||||
|
||||
podcats = callPackage ../development/python-modules/podcats { };
|
||||
|
||||
podgen = callPackage ../development/python-modules/podgen { };
|
||||
|
||||
podman = callPackage ../development/python-modules/podman { };
|
||||
|
||||
poetry-core = callPackage ../development/python-modules/poetry-core { };
|
||||
|
||||
Reference in New Issue
Block a user