Merge pull request #114026 from fabaff/bump-catt

This commit is contained in:
Jörg Thalheim 2021-02-22 21:28:39 +00:00 committed by GitHub
commit c7d0dbe094
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 18 deletions

View file

@ -1,32 +1,26 @@
{ lib, python3 }:
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";
};
});
};
};
with python3.pkgs;
in with py.pkgs; buildPythonApplication rec {
buildPythonApplication rec {
pname = "catt";
version = "0.11.0";
version = "0.12.0";
src = fetchPypi {
inherit pname version;
sha256 = "1vq1wg79b7855za6v6bsfgypm0v3b4wakap4rash45mhzbgjj0kq";
sha256 = "sha256-6RUeinHhAvvSz38hHQP5/MXNiY00rCM8k2ONaFYbwPc=";
};
propagatedBuildInputs = [
youtube-dl PyChromecast click ifaddr requests
click
ifaddr
PyChromecast
requests
youtube-dl
];
doCheck = false; # attempts to access various URLs
pythonImportsCheck = [ "catt" ];
meta = with lib; {
description = "Cast All The Things allows you to send videos from many, many online sources to your Chromecast";

View file

@ -2,11 +2,11 @@
buildPythonPackage rec {
pname = "PyChromecast";
version = "8.0.0";
version = "8.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0dlxgh57j25cvk2pqr2dj4lv6yn0pix2rcl2kzqsg2405rdjks91";
sha256 = "sha256-3wKV9lPO51LeOM+O8J8TrZeCxTkk37qhkcpivV4dzhQ=";
};
disabled = !isPy3k;