diff --git a/pkgs/development/python-modules/podcats/default.nix b/pkgs/development/python-modules/podcats/default.nix index 6f2ed525f0e5..279723394fb8 100644 --- a/pkgs/development/python-modules/podcats/default.nix +++ b/pkgs/development/python-modules/podcats/default.nix @@ -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 ]; }; -} +})