2018-05-15 21:23:30 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, flask, mutagen }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "podcats";
|
2018-05-28 12:59:57 +00:00
|
|
|
version = "0.5.0";
|
2018-05-15 21:23:30 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jakubroztocil";
|
|
|
|
repo = "podcats";
|
2018-05-28 12:59:57 +00:00
|
|
|
rev = "v${version}";
|
2018-05-15 21:23:30 +00:00
|
|
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/jakubroztocil/podcats";
|
2018-05-15 21:23:30 +00:00
|
|
|
license = lib.licenses.bsd2;
|
|
|
|
};
|
|
|
|
}
|