2020-08-27 17:45:27 +02:00
|
|
|
{ lib, python3 }:
|
2019-10-24 10:04:56 +02:00
|
|
|
|
2021-02-22 20:14:25 +01:00
|
|
|
with python3.pkgs;
|
2020-08-27 17:45:27 +02:00
|
|
|
|
2021-02-22 20:14:25 +01:00
|
|
|
buildPythonApplication rec {
|
2019-10-24 10:04:56 +02:00
|
|
|
pname = "catt";
|
2021-03-22 01:32:43 +01:00
|
|
|
version = "0.12.1";
|
2019-10-24 10:04:56 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-03-22 01:32:43 +01:00
|
|
|
sha256 = "fef58bf7a8ebaba98399d1077cc4615f53d0196aab2a989df369a66f7111963b";
|
2019-10-24 10:04:56 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2021-02-22 20:14:25 +01:00
|
|
|
click
|
|
|
|
ifaddr
|
|
|
|
PyChromecast
|
|
|
|
requests
|
|
|
|
youtube-dl
|
2019-10-24 10:04:56 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false; # attempts to access various URLs
|
2021-02-22 20:14:25 +01:00
|
|
|
pythonImportsCheck = [ "catt" ];
|
2019-10-24 10:04:56 +02:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|