mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Merge pull request #114026 from fabaff/bump-catt
This commit is contained in:
commit
c7d0dbe094
2 changed files with 12 additions and 18 deletions
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue