summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-08-05 23:15:04 +0300
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2021-08-07 01:47:42 +0000
commit7c74a2ad96a9bccbcb2cd75201cb58a2b6f3aa10 (patch)
treeedabea35bde269844ec5df5342162bbf65cf5531
parentMerge pull request #130470 from NixOS/backport-130397-to-release-21.05 (diff)
downloadnixpkgs-origin/backport-132817-to-release-21.05.tar.gz
catt: 0.12.1 -> 0.12.2 + relax click and zeroconf dependenciesorigin/backport-132817-to-release-21.05
(cherry picked from commit 4be43bf7eddb50a4c50efbb1c1493abbcc4f3635)
-rw-r--r--pkgs/applications/video/catt/default.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgs/applications/video/catt/default.nix b/pkgs/applications/video/catt/default.nix
index e4225963cb2b..4b285cfc0075 100644
--- a/pkgs/applications/video/catt/default.nix
+++ b/pkgs/applications/video/catt/default.nix
@@ -4,11 +4,11 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "catt";
- version = "0.12.1";
+ version = "0.12.2";
src = fetchPypi {
inherit pname version;
- sha256 = "fef58bf7a8ebaba98399d1077cc4615f53d0196aab2a989df369a66f7111963b";
+ sha256 = "sha256-BOETKTkcbLOu5SubiejswU7D47qWS13QZ7rU9x3jf5Y=";
};
propagatedBuildInputs = [
@@ -19,6 +19,14 @@ buildPythonApplication rec {
youtube-dl
];
+ # remove click when 0.12.3 is released
+ # upstream doesn't use zeroconf directly but pins it for pychromecast
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace "zeroconf==0.31.0" "" \
+ --replace "Click>=7.1.2,<8" "click"
+ '';
+
doCheck = false; # attempts to access various URLs
pythonImportsCheck = [ "catt" ];
@@ -29,4 +37,3 @@ buildPythonApplication rec {
maintainers = with maintainers; [ dtzWill ];
};
}
-