summary refs log blame commit diff
path: root/pkgs/development/python-modules/tvnamer/default.nix
blob: b0df400899285a797585ddc5589efb3205603d99 (plain) (tree)
1
2
3
4
5
6
7
8
9








                        
                  


                          
                                                                                

    
                           












                                                                                                
{ stdenv
, buildPythonPackage
, fetchPypi
, pytest
, tvdb_api
}:

buildPythonPackage rec {
  pname = "tvnamer";
  version = "2.5";

  src = fetchPypi {
    inherit pname version;
    sha256 = "75e38454757c77060ad3782bd071682d6d316de86f9aec1c2042d236f93aec7b";
  };

  checkInputs = [ pytest ];
  propagatedBuildInputs = [ tvdb_api ];

  # a ton of tests fail with: IOError: tvnamer/main.py could not be found in . or ..
  doCheck = false;

  meta = with stdenv.lib; {
    description = "Automatic TV episode file renamer, uses data from thetvdb.com via tvdb_api.";
    homepage = "https://github.com/dbr/tvnamer";
    license = licenses.unlicense;
    maintainers = with maintainers; [ peterhoeg ];
  };

}