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