lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.sopel: 7.1.8 -> 7.1.9

authored by

Fabian Affolter and committed by
Jonathan Ringer
14f95645 b19bb22d

+19 -9
+19 -9
pkgs/development/python-modules/sopel/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPyPy 1 + { lib 2 + , buildPythonPackage 2 3 , dnspython 4 + , fetchPypi 3 5 , geoip2 4 6 , ipython 7 + , isPyPy 5 8 , praw 6 9 , pyenchant 7 10 , pygeoip 8 11 , pytestCheckHook 12 + , pythonOlder 9 13 , pytz 10 14 , sqlalchemy 11 15 , xmltodict ··· 13 17 14 18 buildPythonPackage rec { 15 19 pname = "sopel"; 16 - version = "7.1.8"; 17 - disabled = isPyPy; 20 + version = "7.1.9"; 21 + format = "setuptools"; 22 + 23 + disabled = isPyPy || pythonOlder "3.7"; 18 24 19 25 src = fetchPypi { 20 26 inherit pname version; 21 - sha256 = "sha256-zxb95GVcDrd3FG/k+0PLg+dVlMgQpf1ntG8jF/zpHH4="; 27 + hash = "sha256-IJ+ovLQv6/UU1oepmUQjzaWBG3Rdd3xvui7FjK85Urs="; 22 28 }; 23 29 24 30 propagatedBuildInputs = [ ··· 33 39 xmltodict 34 40 ]; 35 41 36 - # remove once https://github.com/sopel-irc/sopel/pull/1653 lands 42 + checkInputs = [ 43 + pytestCheckHook 44 + ]; 45 + 37 46 postPatch = '' 38 47 substituteInPlace requirements.txt \ 39 48 --replace "praw>=4.0.0,<6.0.0" "praw" \ 40 - --replace "sqlalchemy<1.4" "sqlalchemy" 49 + --replace "sqlalchemy<1.4" "sqlalchemy" \ 50 + --replace "xmltodict==0.12" "xmltodict>=0.12" 41 51 ''; 42 - 43 - checkInputs = [ pytestCheckHook ]; 44 52 45 53 preCheck = '' 46 54 export TESTDIR=$(mktemp -d) ··· 52 60 popd 53 61 ''; 54 62 55 - pythonImportsCheck = [ "sopel" ]; 63 + pythonImportsCheck = [ 64 + "sopel" 65 + ]; 56 66 57 67 meta = with lib; { 58 68 description = "Simple and extensible IRC bot";