diff options
Diffstat (limited to 'pkgs/development/python-modules/tvnamer/default.nix')
-rw-r--r-- | pkgs/development/python-modules/tvnamer/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/tvnamer/default.nix b/pkgs/development/python-modules/tvnamer/default.nix new file mode 100644 index 000000000000..172c44239203 --- /dev/null +++ b/pkgs/development/python-modules/tvnamer/default.nix @@ -0,0 +1,30 @@ +{ stdenv +, buildPythonPackage +, fetchPypi +, pytest +, tvdb_api +}: + +buildPythonPackage rec { + pname = "tvnamer"; + version = "2.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "10iizmwna2xpyc2694hsrvny68y3bdq576p8kxsvg5gj2spnsxav"; + }; + + buildInputs = [ 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 ]; + }; + +} |