catt: 0.12.7 -> 0.12.11

https://github.com/skorokithakis/catt/blob/v0.12.11/CHANGELOG.md

+18 -41
+18 -41
pkgs/applications/video/catt/default.nix
··· 1 1 { lib 2 - , fetchFromGitHub 3 2 , fetchPypi 3 + , fetchpatch 4 4 , python3 5 5 }: 6 6 7 - let 8 - py = python3.override { 9 - packageOverrides = self: super: { 10 - # Upstream is pinning releases incl. dependencies of their dependencies 11 - zeroconf = super.zeroconf.overridePythonAttrs (oldAttrs: rec { 12 - version = "0.31.0"; 13 - src = fetchFromGitHub { 14 - owner = "jstasiak"; 15 - repo = "python-zeroconf"; 16 - rev = version; 17 - hash = "sha256-8pYbIkPsg16VelwqpYSzqfAJaCU37lun+XZ/crzCDZU="; 18 - }; 19 - }); 20 - 21 - click = super.click.overridePythonAttrs (oldAttrs: rec { 22 - version = "7.1.2"; 23 - src = oldAttrs.src.override { 24 - inherit version; 25 - hash = "sha256-0rUlXHxjSbwb0eWeCM0SrLvWPOZJ8liHVXg6qU37axo="; 26 - }; 27 - disabledTests = [ "test_bytes_args" ]; # https://github.com/pallets/click/commit/6e05e1fa1c2804 28 - }); 29 - 30 - pychromecast = super.pychromecast.overridePythonAttrs (oldAttrs: rec { 31 - version = "9.2.0"; 32 - src = oldAttrs.src.override { 33 - inherit version; 34 - hash = "sha256-bTRZNXXPd1Zd9Hr0x13UfGplgx7BiowQtTZ7LxwXLwo="; 35 - }; 36 - }); 37 - }; 38 - }; 39 - in 40 - with py.pkgs; 41 - 42 - buildPythonApplication rec { 7 + python3.pkgs.buildPythonApplication rec { 43 8 pname = "catt"; 44 - version = "0.12.7"; 45 - format = "setuptools"; 9 + version = "0.12.11"; 10 + format = "pyproject"; 46 11 47 12 src = fetchPypi { 48 13 inherit pname version; 49 - hash = "sha256-Q9ePWRLwuuTG+oPKFg7xn1gj4uAVlXUxegWdyH3Yd90="; 14 + hash = "sha256-0bqYYfWwF7yYoAbjZPhi/f4CLcL89imWGYaMi5Bwhtc="; 50 15 }; 51 16 52 - propagatedBuildInputs = [ 17 + patches = [ 18 + (fetchpatch { 19 + # set explicit build-system 20 + url = "https://github.com/skorokithakis/catt/commit/08e7870a239e85badd30982556adc2aa8a8e4fc1.patch"; 21 + hash = "sha256-QH5uN3zQNVPP6Th2LHdDBF53WxwMhoyhhQUAZOeHh4k="; 22 + }) 23 + ]; 24 + 25 + nativeBuildInputs = with python3.pkgs; [ 26 + poetry-core 27 + ]; 28 + 29 + propagatedBuildInputs = with python3.pkgs; [ 53 30 click 54 31 ifaddr 55 32 pychromecast