nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

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

calibre-web: 0.6.22 -> 0.6.24 (#356882)

authored by

kirillrdy and committed by
GitHub
44588aa5 ad9f5104

+519 -54
+118 -54
pkgs/by-name/ca/calibre-web/package.nix
··· 1 - { lib 2 - , fetchFromGitHub 3 - , nixosTests 4 - , nix-update-script 5 - , python3 1 + { 2 + lib, 3 + stdenv, 4 + fetchFromGitHub, 5 + nix-update-script, 6 + nixosTests, 7 + python3Packages, 6 8 }: 7 9 8 - let 9 - python = python3.override { 10 - self = python; 11 - packageOverrides = self: super: { 12 - sqlalchemy = super.sqlalchemy_1_4; 13 - }; 14 - }; 15 - in 16 - python.pkgs.buildPythonApplication rec { 10 + python3Packages.buildPythonApplication rec { 17 11 pname = "calibre-web"; 18 - version = "0.6.22"; 12 + version = "0.6.24"; 13 + pyproject = true; 19 14 20 15 src = fetchFromGitHub { 21 16 owner = "janeczku"; 22 17 repo = "calibre-web"; 23 - rev = version; 24 - hash = "sha256-nWZmDasBH+DW/+Cvw510mOv11CXorRnoBwNFpoKPErY="; 18 + tag = version; 19 + hash = "sha256-DYhlD3ly6U/e5cDlsubDyW1uKeCtB+HrpagJlNDJhyI="; 25 20 }; 26 - 27 - propagatedBuildInputs = with python.pkgs; [ 28 - advocate 29 - apscheduler 30 - babel 31 - bleach 32 - chardet 33 - flask 34 - flask-babel 35 - flask-limiter 36 - flask-login 37 - flask-principal 38 - flask-simpleldap 39 - flask-wtf 40 - iso-639 41 - jsonschema 42 - lxml 43 - pypdf 44 - python-magic 45 - pytz 46 - regex 47 - requests 48 - sqlalchemy 49 - tornado 50 - unidecode 51 - wand 52 - werkzeug 53 - ]; 54 21 55 22 patches = [ 56 23 # default-logger.patch switches default logger to /dev/stdout. Otherwise calibre-web tries to open a file relative ··· 36 69 mv cps.py src/calibreweb/__init__.py 37 70 mv cps src/calibreweb 38 71 39 - substituteInPlace setup.cfg \ 40 - --replace-fail "cps = calibreweb:main" "calibre-web = calibreweb:main" 72 + substituteInPlace pyproject.toml \ 73 + --replace-fail 'cps = "calibreweb:main"' 'calibre-web = "calibreweb:main"' 41 74 ''; 42 75 43 - # Upstream repo doesn't provide any tests. 44 - doCheck = false; 76 + build-system = [ python3Packages.setuptools ]; 77 + 78 + dependencies = with python3Packages; [ 79 + apscheduler 80 + babel 81 + bleach 82 + chardet 83 + cryptography 84 + flask 85 + flask-babel 86 + flask-httpauth 87 + flask-limiter 88 + flask-principal 89 + flask-wtf 90 + iso-639 91 + lxml 92 + netifaces-plus 93 + pycountry 94 + pypdf 95 + python-magic 96 + pytz 97 + regex 98 + requests 99 + sqlalchemy 100 + tornado 101 + unidecode 102 + urllib3 103 + wand 104 + ]; 105 + 106 + optional-dependencies = { 107 + comics = with python3Packages; [ 108 + comicapi 109 + natsort 110 + ]; 111 + 112 + gdrive = with python3Packages; [ 113 + gevent 114 + google-api-python-client 115 + greenlet 116 + httplib2 117 + oauth2client 118 + pyasn1-modules 119 + # https://github.com/NixOS/nixpkgs/commit/bf28e24140352e2e8cb952097febff0e94ea6a1e 120 + # pydrive2 121 + pyyaml 122 + rsa 123 + uritemplate 124 + ]; 125 + 126 + gmail = with python3Packages; [ 127 + google-api-python-client 128 + google-auth-oauthlib 129 + ]; 130 + 131 + # We don't support the goodreads feature, as the `goodreads` package is 132 + # archived and depends on other long unmaintained packages (rauth & nose) 133 + # goodreads = [ ]; 134 + 135 + kobo = with python3Packages; [ jsonschema ]; 136 + 137 + ldap = with python3Packages; [ 138 + flask-simpleldap 139 + python-ldap 140 + ]; 141 + 142 + metadata = with python3Packages; [ 143 + faust-cchardet 144 + html2text 145 + markdown2 146 + mutagen 147 + py7zr 148 + pycountry 149 + python-dateutil 150 + rarfile 151 + scholarly 152 + ]; 153 + 154 + oauth = with python3Packages; [ 155 + flask-dance 156 + sqlalchemy-utils 157 + ]; 158 + }; 159 + 160 + pythonRelaxDeps = [ 161 + "apscheduler" 162 + "bleach" 163 + "cryptography" 164 + "flask" 165 + "flask-limiter" 166 + "lxml" 167 + "pypdf" 168 + "regex" 169 + ]; 170 + 171 + nativeCheckInputs = lib.flatten (lib.attrValues optional-dependencies); 172 + 173 + pythonImportsCheck = [ "calibreweb" ]; 45 174 46 175 passthru = { 47 - tests.calibre-web = nixosTests.calibre-web; 176 + tests = lib.optionalAttrs stdenv.hostPlatform.isLinux { inherit (nixosTests) calibre-web; }; 48 177 updateScript = nix-update-script { }; 49 178 }; 50 179 51 - meta = with lib; { 180 + meta = { 52 181 description = "Web app for browsing, reading and downloading eBooks stored in a Calibre database"; 53 182 homepage = "https://github.com/janeczku/calibre-web"; 54 - license = licenses.gpl3Plus; 55 - maintainers = with maintainers; [ pborzenkov ]; 56 - platforms = platforms.all; 183 + changelog = "https://github.com/janeczku/calibre-web/releases/tag/${src.tag}"; 184 + license = lib.licenses.gpl3Plus; 185 + maintainers = with lib.maintainers; [ pborzenkov ]; 57 186 mainProgram = "calibre-web"; 187 + platforms = lib.platforms.all; 58 188 }; 59 189 }
+83
pkgs/development/python-modules/comicapi/default.nix
··· 1 + { 2 + lib, 3 + stdenv, 4 + buildPythonPackage, 5 + fetchFromGitHub, 6 + importlib-metadata, 7 + natsort, 8 + pillow, 9 + py7zr, 10 + pycountry, 11 + pyicu, 12 + pytestCheckHook, 13 + pythonOlder, 14 + rapidfuzz, 15 + rarfile, 16 + setuptools, 17 + setuptools-scm, 18 + text2digits, 19 + wheel, 20 + wordninja, 21 + }: 22 + 23 + buildPythonPackage rec { 24 + pname = "comicapi"; 25 + version = "3.2.0"; 26 + pyproject = true; 27 + 28 + disabled = pythonOlder "3.8"; 29 + 30 + src = fetchFromGitHub { 31 + owner = "comictagger"; 32 + repo = "comicapi"; 33 + rev = "2bf8332114e49add0bbc0fd3d85bdbba02de3d1a"; 34 + hash = "sha256-Cd3ILy/4PqWUj1Uu9of9gCpdVp2R6CXjPOuSXgrB894="; 35 + }; 36 + 37 + build-system = [ 38 + setuptools 39 + setuptools-scm 40 + wheel 41 + ]; 42 + 43 + dependencies = [ 44 + importlib-metadata 45 + natsort 46 + pillow 47 + pycountry 48 + rapidfuzz 49 + text2digits 50 + wordninja 51 + ]; 52 + 53 + optional-dependencies = { 54 + _7z = [ py7zr ]; 55 + 56 + all = [ 57 + py7zr 58 + rarfile 59 + ] ++ lib.optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isLinux) pyicu; 60 + 61 + cbr = [ rarfile ]; 62 + 63 + icu = lib.optional (stdenv.hostPlatform.isDarwin || stdenv.hostPlatform.isLinux) pyicu; 64 + }; 65 + 66 + nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); 67 + 68 + pythonRelaxDeps = [ "pycountry" ]; 69 + 70 + disabledTests = [ 71 + # AssertionError 72 + "test_copy_from_archive" 73 + ]; 74 + 75 + pythonImportsCheck = [ "comicapi" ]; 76 + 77 + meta = { 78 + description = "Comic archive (cbr/cbz/cbt) and metadata utilities"; 79 + homepage = "https://github.com/comictagger/comicapi"; 80 + license = lib.licenses.asl20; 81 + maintainers = with lib.maintainers; [ getchoo ]; 82 + }; 83 + }
+95
pkgs/development/python-modules/flask-dance/default.nix
··· 1 + { 2 + lib, 3 + betamax, 4 + blinker, 5 + buildPythonPackage, 6 + coverage, 7 + fetchFromGitHub, 8 + flask, 9 + flask-caching, 10 + flask-login, 11 + flask-sqlalchemy, 12 + flit, 13 + freezegun, 14 + oauthlib, 15 + pallets-sphinx-themes, 16 + pillow, 17 + pytest, 18 + pytest-mock, 19 + pytestCheckHook, 20 + requests, 21 + requests-oauthlib, 22 + responses, 23 + sphinx, 24 + sphinxcontrib-seqdiag, 25 + sphinxcontrib-spelling, 26 + sqlalchemy, 27 + urlobject, 28 + werkzeug, 29 + }: 30 + 31 + buildPythonPackage rec { 32 + pname = "flask-dance"; 33 + version = "7.1.0"; 34 + pyproject = true; 35 + 36 + src = fetchFromGitHub { 37 + owner = "singingwolfboy"; 38 + repo = "flask-dance"; 39 + tag = "v${version}"; 40 + hash = "sha256-rKHC0G5S7l52QSrbbweMii68AZuBAgf6tYsJdPKIeUk="; 41 + }; 42 + 43 + build-system = [ flit ]; 44 + 45 + dependencies = [ 46 + flask 47 + oauthlib 48 + requests 49 + requests-oauthlib 50 + urlobject 51 + werkzeug 52 + ]; 53 + 54 + optional-dependencies = { 55 + docs = [ 56 + betamax 57 + pallets-sphinx-themes 58 + pillow 59 + sphinx 60 + sphinxcontrib-seqdiag 61 + sphinxcontrib-spelling 62 + sqlalchemy 63 + ]; 64 + 65 + signals = [ blinker ]; 66 + 67 + sqla = [ sqlalchemy ]; 68 + 69 + test = [ 70 + betamax 71 + coverage 72 + flask-caching 73 + flask-login 74 + flask-sqlalchemy 75 + freezegun 76 + oauthlib 77 + pytest 78 + pytest-mock 79 + responses 80 + sqlalchemy 81 + ]; 82 + }; 83 + 84 + nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); 85 + 86 + pythonImportsCheck = [ "flask_dance" ]; 87 + 88 + meta = { 89 + description = "Doing the OAuth dance with style using Flask, requests, and oauthlib"; 90 + homepage = "https://github.com/singingwolfboy/flask-dance"; 91 + changelog = "https://github.com/singingwolfboy/flask-dance/releases/tag/${src.tag}"; 92 + license = lib.licenses.mit; 93 + maintainers = with lib.maintainers; [ getchoo ]; 94 + }; 95 + }
+37
pkgs/development/python-modules/netifaces-plus/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pythonOlder, 6 + setuptools, 7 + wheel, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "netifaces-plus"; 12 + version = "0.12.4"; 13 + pyproject = true; 14 + 15 + disabled = pythonOlder "3.6"; 16 + 17 + src = fetchFromGitHub { 18 + owner = "tsukumijima"; 19 + repo = "netifaces-plus"; 20 + tag = "release_${lib.replaceStrings [ "." ] [ "_" ] version}"; 21 + hash = "sha256-3CYAe0doWMagcUIN9+ikH9gEST9AqglSQDlZsKOMnC8="; 22 + }; 23 + 24 + build-system = [ 25 + setuptools 26 + wheel 27 + ]; 28 + 29 + pythonImportsCheck = [ "netifaces" ]; 30 + 31 + meta = { 32 + description = "Portable network interface information"; 33 + homepage = "https://github.com/tsukumijima/netifaces-plus"; 34 + license = lib.licenses.mit; 35 + maintainers = with lib.maintainers; [ getchoo ]; 36 + }; 37 + }
+69
pkgs/development/python-modules/scholarly/default.nix
··· 1 + { 2 + lib, 3 + arrow, 4 + beautifulsoup4, 5 + bibtexparser, 6 + buildPythonPackage, 7 + deprecated, 8 + fake-useragent, 9 + fetchFromGitHub, 10 + free-proxy, 11 + httpx, 12 + python-dotenv, 13 + requests, 14 + selenium, 15 + setuptools, 16 + sphinx-rtd-theme, 17 + stem, 18 + typing-extensions, 19 + wheel, 20 + }: 21 + 22 + buildPythonPackage rec { 23 + pname = "scholarly"; 24 + version = "1.7.11"; 25 + pyproject = true; 26 + 27 + src = fetchFromGitHub { 28 + owner = "scholarly-python-package"; 29 + repo = "scholarly"; 30 + tag = "v${version}"; 31 + hash = "sha256-yvew63tGwSjwseHK7wDqm26xiyCztUzxMqBpwwLD798="; 32 + }; 33 + 34 + build-system = [ 35 + setuptools 36 + wheel 37 + ]; 38 + 39 + dependencies = [ 40 + arrow 41 + beautifulsoup4 42 + bibtexparser 43 + deprecated 44 + fake-useragent 45 + free-proxy 46 + httpx 47 + python-dotenv 48 + requests 49 + selenium 50 + sphinx-rtd-theme 51 + typing-extensions 52 + ]; 53 + 54 + optional-dependencies = { 55 + tor = [ stem ]; 56 + }; 57 + 58 + nativeCheckInputs = lib.flatten (lib.attrValues optional-dependencies); 59 + 60 + pythonImportsCheck = [ "scholarly" ]; 61 + 62 + meta = { 63 + description = "Retrieve author and publication information from Google Scholar"; 64 + homepage = "https://scholarly.readthedocs.io/"; 65 + changelog = "https://github.com/scholarly-python-package/scholarly/releases/tag/${src.tag}"; 66 + license = lib.licenses.unlicense; 67 + maintainers = with lib.maintainers; [ getchoo ]; 68 + }; 69 + }
+32
pkgs/development/python-modules/text2digits/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + pypaInstallHook, 6 + setuptoolsBuildHook, 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "text2digits"; 11 + version = "0.1.0"; 12 + pyproject = false; 13 + 14 + src = fetchPypi { 15 + inherit pname version; 16 + hash = "sha256-oB2NyNVxediIulid9A4Ccw878t2JKrIsN1OOR5lyi7I="; 17 + }; 18 + 19 + nativeBuildInputs = [ 20 + pypaInstallHook 21 + setuptoolsBuildHook 22 + ]; 23 + 24 + pythonImportsCheck = [ "text2digits" ]; 25 + 26 + meta = { 27 + description = "Converts text such as 'twenty three' to number/digit '23' in any sentence"; 28 + homepage = "https://github.com/ShailChoksi/text2digits"; 29 + license = lib.licenses.mit; 30 + maintainers = with lib.maintainers; [ getchoo ]; 31 + }; 32 + }
+37
pkgs/development/python-modules/urlobject/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchFromGitHub, 5 + pypaInstallHook, 6 + setuptoolsBuildHook, 7 + }: 8 + 9 + buildPythonPackage rec { 10 + pname = "urlobject"; 11 + version = "2.4.3"; 12 + pyproject = false; 13 + 14 + src = fetchFromGitHub { 15 + owner = "zacharyvoase"; 16 + repo = "urlobject"; 17 + tag = "v${version}"; 18 + hash = "sha256-4UuQZTkVre8jXlchW7/TjeaADYvLnGMpGbJR/sdeKv4="; 19 + }; 20 + 21 + nativeBuildInputs = [ 22 + pypaInstallHook 23 + setuptoolsBuildHook 24 + ]; 25 + 26 + # Tests use `nose` 27 + doInstallCheck = false; 28 + 29 + pythonImportsCheck = [ "urlobject" ]; 30 + 31 + meta = { 32 + description = "Python library for manipulating URLs (and some URIs) in a more natural way"; 33 + homepage = "http://zacharyvoase.github.com/urlobject"; 34 + license = lib.licenses.unlicense; 35 + maintainers = with lib.maintainers; [ getchoo ]; 36 + }; 37 + }
+34
pkgs/development/python-modules/wordninja/default.nix
··· 1 + { 2 + lib, 3 + buildPythonPackage, 4 + fetchPypi, 5 + setuptools, 6 + setuptools-scm, 7 + wheel, 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "wordninja"; 12 + version = "2.0.0"; 13 + pyproject = true; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + hash = "sha256-GhzH7BRq0Z1vcZQe6CrvPTEiFwDw2L+EQTbPjfedKBo="; 18 + }; 19 + 20 + build-system = [ 21 + setuptools 22 + setuptools-scm 23 + wheel 24 + ]; 25 + 26 + pythonImportsCheck = [ "wordninja" ]; 27 + 28 + meta = { 29 + description = "Probabilistically split concatenated words using NLP based on English Wikipedia unigram frequencies"; 30 + homepage = "https://github.com/keredson/wordninja"; 31 + license = lib.licenses.mit; 32 + maintainers = with lib.maintainers; [ getchoo ]; 33 + }; 34 + }
+14
pkgs/top-level/python-packages.nix
··· 2196 2196 inherit (pkgs) secp256k1; 2197 2197 }; 2198 2198 2199 + comicapi = callPackage ../development/python-modules/comicapi { }; 2200 + 2199 2201 comicon = callPackage ../development/python-modules/comicon { }; 2200 2202 2201 2203 command-runner = callPackage ../development/python-modules/command-runner { }; ··· 4801 4799 flask-compress = callPackage ../development/python-modules/flask-compress { }; 4802 4800 4803 4801 flask-cors = callPackage ../development/python-modules/flask-cors { }; 4802 + 4803 + flask-dance = callPackage ../development/python-modules/flask-dance { }; 4804 4804 4805 4805 flask-dramatiq = callPackage ../development/python-modules/flask-dramatiq { }; 4806 4806 ··· 9427 9423 netifaces = callPackage ../development/python-modules/netifaces { }; 9428 9424 9429 9425 netifaces2 = callPackage ../development/python-modules/netifaces2 { }; 9426 + 9427 + netifaces-plus = callPackage ../development/python-modules/netifaces-plus { }; 9430 9428 9431 9429 netmiko = callPackage ../development/python-modules/netmiko { }; 9432 9430 ··· 14852 14846 14853 14847 schiene = callPackage ../development/python-modules/schiene { }; 14854 14848 14849 + scholarly = callPackage ../development/python-modules/scholarly { }; 14850 + 14855 14851 schwifty = callPackage ../development/python-modules/schwifty { }; 14856 14852 14857 14853 scienceplots = callPackage ../development/python-modules/scienceplots { }; ··· 16483 16475 testfixtures = callPackage ../development/python-modules/testfixtures { }; 16484 16476 16485 16477 texsoup = callPackage ../development/python-modules/texsoup { }; 16478 + 16479 + text2digits = callPackage ../development/python-modules/text2digits { }; 16486 16480 16487 16481 textblob = callPackage ../development/python-modules/textblob { }; 16488 16482 ··· 18128 18118 18129 18119 urlmatch = callPackage ../development/python-modules/urlmatch { }; 18130 18120 18121 + urlobject = callPackage ../development/python-modules/urlobject { }; 18122 + 18131 18123 urlpy = callPackage ../development/python-modules/urlpy { }; 18132 18124 18133 18125 urwid = callPackage ../development/python-modules/urwid { }; ··· 18625 18613 wordcloud = callPackage ../development/python-modules/wordcloud { }; 18626 18614 18627 18615 wordfreq = callPackage ../development/python-modules/wordfreq { }; 18616 + 18617 + wordninja = callPackage ../development/python-modules/wordninja { }; 18628 18618 18629 18619 world-bank-data = callPackage ../development/python-modules/world-bank-data { }; 18630 18620