fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
763 B
Nix
37 lines
763 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flask,
|
|
mutagen,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "podcats";
|
|
version = "0.5.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "jakubroztocil";
|
|
repo = "podcats";
|
|
rev = "v${version}";
|
|
sha256 = "0zjdgry5n209rv19kj9yaxy7c7zq5gxr488izrgs4sc75vdzz8xc";
|
|
};
|
|
|
|
patchPhase = ''
|
|
substituteInPlace podcats.py \
|
|
--replace 'debug=True' 'debug=True, use_reloader=False'
|
|
'';
|
|
|
|
propagatedBuildInputs = [
|
|
flask
|
|
mutagen
|
|
];
|
|
|
|
meta = {
|
|
description = "Application that generates RSS feeds for podcast episodes from local audio files";
|
|
mainProgram = "podcats";
|
|
homepage = "https://github.com/jakubroztocil/podcats";
|
|
license = lib.licenses.bsd2;
|
|
};
|
|
}
|