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

39 lines
992 B
Nix
Raw Normal View History

2020-08-27 16:45:27 +01:00
{ lib, python3 }:
2019-10-24 09:04:56 +01:00
2020-08-27 16:45:27 +01: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 09:04:56 +01:00
pname = "catt";
2020-03-04 10:04:55 +00:00
version = "0.11.0";
2019-10-24 09:04:56 +01:00
src = fetchPypi {
inherit pname version;
2020-06-01 09:59:41 +01:00
sha256 = "1vq1wg79b7855za6v6bsfgypm0v3b4wakap4rash45mhzbgjj0kq";
2019-10-24 09:04:56 +01: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 ];
};
}