python3Packages.podcats: fix build failure; adopt (#501694)
This commit is contained in:
@@ -1,40 +1,41 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
flask,
|
||||
humanize,
|
||||
lib,
|
||||
mutagen,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "podcats";
|
||||
version = "0.6.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jakubroztocil";
|
||||
owner = "jkbrzt";
|
||||
repo = "podcats";
|
||||
tag = version;
|
||||
sha256 = "sha256-1Jg9bR/3qMim3q5qVwUVbxeLNaXaCU6SplBUaRXeLpo=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-1Jg9bR/3qMim3q5qVwUVbxeLNaXaCU6SplBUaRXeLpo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace podcats.py \
|
||||
--replace-fail 'debug=True' 'debug=True, use_reloader=False'
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
flask
|
||||
humanize
|
||||
mutagen
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "podcats" ];
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Application that generates RSS feeds for podcast episodes from local audio files";
|
||||
description = "Generates RSS feeds for podcast episodes from local audio files";
|
||||
mainProgram = "podcats";
|
||||
homepage = "https://github.com/jakubroztocil/podcats";
|
||||
homepage = "https://github.com/jkbrzt/podcats";
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ drawbu ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user