cobang: 0.9.6 -> 0.10.1

Diff: https://github.com/hongquan/CoBang/compare/refs/tags/v0.9.6...v0.10.1

+25 -53
-32
pkgs/applications/misc/cobang/0001-Poetry-core-and-pillow-9.patch
··· 1 - From 324a267b0e5505c9124874581bc48fb174fb2542 Mon Sep 17 00:00:00 2001 2 - From: "P. R. d. O" <d.ol.rod@tutanota.com> 3 - Date: Fri, 4 Mar 2022 07:03:17 -0600 4 - Subject: [PATCH] Pillow update 5 - 6 - --- 7 - pyproject.toml | 4 ++-- 8 - 1 file changed, 2 insertions(+), 2 deletions(-) 9 - 10 - diff --git a/pyproject.toml b/pyproject.toml 11 - index 5dc25e0..b3ba397 100644 12 - --- a/pyproject.toml 13 - +++ b/pyproject.toml 14 - @@ -11,7 +11,7 @@ readme = "README.rst" 15 - [tool.poetry.dependencies] 16 - python = "^3.7" 17 - logbook = "^1.5.3" 18 - -Pillow = "^8.2.0" 19 - +Pillow = "^9.0.0" 20 - requests = "^2.24.0" 21 - kiss-headers = "^2.2.3" 22 - single-version = "^1.5.1" 23 - @@ -33,4 +33,4 @@ skip-string-normalization = true 24 - 25 - [build-system] 26 - -requires = ["poetry>=0.12"] 27 - +requires = ["poetry-core"] 28 - -build-backend = "poetry.masonry.api" 29 - +build-backend = "poetry.core.masonry.api" 30 - -- 31 - 2.35.1 32 -
+25 -21
pkgs/applications/misc/cobang/default.nix
··· 1 1 { lib 2 + , atk 2 3 , buildPythonApplication 3 4 , fetchFromGitHub 4 - , wrapGAppsHook 5 - , atk 6 5 , gdk-pixbuf 7 6 , gobject-introspection 7 + , gst-plugins-good 8 + , gst-python 8 9 , gtk3 9 - , gst-plugins-good 10 + , kiss-headers 10 11 , libhandy 11 12 , librsvg 13 + , logbook 12 14 , networkmanager 13 15 , pango 14 - , gst-python 15 - , kiss-headers 16 - , logbook 17 16 , pillow 18 17 , poetry-core 19 18 , pygobject3 19 + , pytestCheckHook 20 20 , python 21 21 , python-zbar 22 + , pythonRelaxDepsHook 22 23 , requests 23 24 , single-version 24 - , pytestCheckHook }: 25 + , wrapGAppsHook 26 + }: 25 27 26 28 buildPythonApplication rec { 27 29 pname = "cobang"; 28 - version = "0.9.6"; 30 + version = "0.10.1"; 29 31 format = "pyproject"; 30 32 31 33 src = fetchFromGitHub { 32 34 owner = "hongquan"; 33 35 repo = "CoBang"; 34 - rev = "v${version}"; 35 - sha256 = "sha256-YcXQ2wAgFSsJEqcaDQotpX1put4pQaF511kwq/c2yHw="; 36 + rev = "refs/tags/v${version}"; 37 + hash = "sha256-yNDnBTBmwcP3g51UkkLNyF4eHYjblwxPxS2lMwbFKUM="; 36 38 }; 37 39 38 - patches = [ 39 - ./0001-Poetry-core-and-pillow-9.patch 40 + pythonRelaxDeps = [ 41 + "logbook" 42 + "Pillow" 40 43 ]; 41 44 42 45 nativeBuildInputs = [ 43 46 gobject-introspection 47 + pythonRelaxDepsHook 44 48 wrapGAppsHook 45 49 ]; 46 50 51 + buildInputs = [ 52 + atk 53 + gdk-pixbuf 54 + gst-plugins-good 55 + libhandy 56 + networkmanager 57 + pango 58 + ]; 59 + 47 60 propagatedBuildInputs = [ 48 61 gst-python 49 62 kiss-headers ··· 54 67 python-zbar 55 68 requests 56 69 single-version 57 - ]; 58 - 59 - buildInputs = [ 60 - atk 61 - gdk-pixbuf 62 - gst-plugins-good 63 - libhandy 64 - networkmanager 65 - pango 66 70 ]; 67 71 68 72 nativeCheckInputs = [