From 87cda273e5e865df53eb3c2130f904bb91d43123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 22 Jan 2023 09:50:26 -0800 Subject: [PATCH] python310Packages.pycaption: 2.1.0 -> 2.1.1 https://github.com/pbs/pycaption/releases/tag/2.1.1 --- pkgs/development/python-modules/pycaption/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/pycaption/default.nix b/pkgs/development/python-modules/pycaption/default.nix index c9dc3bf8e112..ad1c7c1cec50 100644 --- a/pkgs/development/python-modules/pycaption/default.nix +++ b/pkgs/development/python-modules/pycaption/default.nix @@ -5,13 +5,14 @@ , beautifulsoup4 , lxml , cssutils +, nltk , pytest-lazy-fixture , pytestCheckHook }: buildPythonPackage rec { pname = "pycaption"; - version = "2.1.0"; + version = "2.1.1"; disabled = pythonOlder "3.6"; @@ -19,7 +20,7 @@ buildPythonPackage rec { src = fetchPypi { inherit pname version; - hash = "sha256-mV//EYdP7wKYD3Vc49z6LQVQeOuhzNKFZLf28RYdABk="; + hash = "sha256-B+uIh8WTPPeNVU3yP8FEGc8OinY0MpJb9dHLC+nhi4I="; }; propagatedBuildInputs = [ @@ -28,6 +29,10 @@ buildPythonPackage rec { cssutils ]; + passthru.optional-dependencies = { + transcript = [ nltk ]; + }; + nativeCheckInputs = [ pytest-lazy-fixture pytestCheckHook