aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/video/catt/default.nix
blob: e60acf87da6f9dafa08d0282eb926111365b9d80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, python3 }:

with python3.pkgs;

buildPythonApplication rec {
  pname = "catt";
  version = "0.12.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-6RUeinHhAvvSz38hHQP5/MXNiY00rCM8k2ONaFYbwPc=";
  };

  propagatedBuildInputs = [
    click
    ifaddr
    PyChromecast
    requests
    youtube-dl
  ];

  doCheck = false; # attempts to access various URLs
  pythonImportsCheck = [ "catt" ];

  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 ];
  };
}