nixpkgs/pkgs/applications/video/catt/default.nix

39 lines
992 B
Nix
Raw Normal View History

2020-08-27 15:45:27 +00:00
{ lib, python3 }:
2019-10-24 08:04:56 +00:00
2020-08-27 15:45:27 +00:00
let
py = python3.override {
packageOverrides = self: super: {
PyChromecast = super.PyChromecast.overridePythonAttrs (oldAttrs: rec {
version = "6.0.0";
src = oldAttrs.src.override {
inherit version;
sha256 = "05f8r3b2pdqbl76hwi5sv2xdi1r7g9lgm69x8ja5g22mn7ysmghm";
};
});
};
};
in with py.pkgs; buildPythonApplication rec {
2019-10-24 08:04:56 +00:00
pname = "catt";
2020-03-04 10:04:55 +00:00
version = "0.11.0";
2019-10-24 08:04:56 +00:00
src = fetchPypi {
inherit pname version;
2020-06-01 08:59:41 +00:00
sha256 = "1vq1wg79b7855za6v6bsfgypm0v3b4wakap4rash45mhzbgjj0kq";
2019-10-24 08:04:56 +00:00
};
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 ];
};
}