3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/catt/default.nix

33 lines
699 B
Nix
Raw Normal View History

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-02-22 19:14:25 +00:00
version = "0.12.0";
2019-10-24 09:04:56 +01:00
src = fetchPypi {
inherit pname version;
2021-02-22 19:14:25 +00:00
sha256 = "sha256-6RUeinHhAvvSz38hHQP5/MXNiY00rCM8k2ONaFYbwPc=";
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 ];
};
}