7 python' = python3.override {
9 packageOverrides = final: prev: rec {
10 # tvdb_api v3.1.0 has a hard requirement on requests-cache < 0.6
11 requests-cache = prev.requests-cache.overridePythonAttrs (oldAttrs: rec {
14 inherit (oldAttrs) pname;
16 sha256 = "sha256-gTAjJpaGBF+OAeIonMHn6a5asi3dHihJqQk6s6tycOs=";
19 nativeBuildInputs = with final; [
23 # too many changes have been made to requests-cache based on version 0.6 so
24 # simply disable tests
30 pypkgs = python'.pkgs;
33 pypkgs.buildPythonApplication rec {
38 inherit pname version;
39 sha256 = "dc2ea8188df6ac56439343630466b874c57756dd0b2538dd8e7905048f425f04";
42 propagatedBuildInputs = with pypkgs; [ tvdb-api ];
48 description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api";
49 homepage = "https://github.com/dbr/tvnamer";
50 license = licenses.unlicense;
51 maintainers = with maintainers; [ peterhoeg ];
52 mainProgram = "tvnamer";