diff --git a/pkgs/applications/video/catt/default.nix b/pkgs/applications/video/catt/default.nix new file mode 100644 index 000000000000..1f2b25359319 --- /dev/null +++ b/pkgs/applications/video/catt/default.nix @@ -0,0 +1,31 @@ +{ buildPythonApplication, fetchPypi, lib +, youtube-dl +, PyChromecast +, click +, ifaddr +, requests +}: + +buildPythonApplication rec { + pname = "catt"; + version = "0.10.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "0n6aa2vvbq0z3vcg4cylhpqxch783cxvxk234647knklgg9vdf1r"; + }; + + propagatedBuildInputs = [ + youtube-dl PyChromecast click ifaddr requests + ]; + + doCheck = false; # attempts to access various URLs + + meta = with lib; { + description = "Cast All The Things allows you to send videos from many, many online sources to your Chromecast"; + homepage = "https://github.com/skorokithakis/catt"; + license = licenses.bsd2; + maintainers = with maintainers; [ dtzWill ]; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5fdcd2f65af6..b23103f5b688 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -17833,6 +17833,8 @@ in catimg = callPackage ../tools/misc/catimg { }; + catt = python3Packages.callPackage ../applications/video/catt { }; + cava = callPackage ../applications/audio/cava { }; cb2bib = libsForQt5.callPackage ../applications/office/cb2bib { };