File tree Expand file tree Collapse file tree 17 files changed +77
-45
lines changed
nixos/modules/services/web-apps
applications/networking/powerdns-admin
development/python-modules Expand file tree Collapse file tree 17 files changed +77
-45
lines changed Original file line number Diff line number Diff line change 2222 ]
2323 ++ finalPackage . optional-dependencies . redis
2424 ++ lib . optionals cfg . celery . enable [ celery ]
25- ++ lib . optionals ( cfg . settings . database . backend == "mysql" ) finalPackage . optional-dependencies . mysql
2625 ++ lib . optionals ( cfg . settings . database . backend == "postgresql" ) finalPackage . optional-dependencies . postgres ;
2726 } ;
2827in
184183 } ;
185184 } ;
186185
186+ files = {
187+ upload_limit = lib . mkOption {
188+ type = lib . types . ints . positive ;
189+ default = 10 ;
190+ example = 50 ;
191+ description = ''
192+ Maximum file upload size in MiB.
193+ '' ;
194+ } ;
195+ } ;
196+
187197 filesystem = {
188198 data = lib . mkOption {
189199 type = lib . types . path ;
Original file line number Diff line number Diff line change 1313 python = python3 ;
1414
1515 pythonDeps = with python . pkgs ; [
16+ distutils
1617 flask flask-assets flask-login flask-sqlalchemy flask-migrate flask-seasurf flask-mail flask-session flask-session-captcha flask-sslify
1718 mysqlclient psycopg2 sqlalchemy
1819 certifi cffi configobj cryptography bcrypt requests python-ldap pyotp qrcode dnspython
Original file line number Diff line number Diff line change @@ -48,7 +48,10 @@ python3Packages.buildPythonApplication {
4848
4949 nativeBuildInputs = [ installShellFiles ] ;
5050
51- build-system = with python3Packages ; [ babel ] ;
51+ build-system = with python3Packages ; [
52+ setuptools
53+ babel
54+ ] ;
5255
5356 dependencies = with python3Packages ; [
5457 androguard
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ python.pkgs.buildPythonApplication rec {
2828 "sqlalchemy-utils"
2929 "sqlalchemy"
3030 "pycognito"
31+ "qrcode"
3132 "urllib3"
3233 ] ;
3334
Original file line number Diff line number Diff line change 1111 python = python3 . override {
1212 self = python ;
1313 packageOverrides = final : prev : {
14+ django = prev . django_5 ;
15+
1416 django-bootstrap4 = prev . django-bootstrap4 . overridePythonAttrs ( oldAttrs : rec {
1517 version = "3.0.0" ;
1618 src = oldAttrs . src . override {
2628 # fails with some assertions
2729 doCheck = false ;
2830 } ) ;
31+
32+ django-extensions = prev . django-extensions . overridePythonAttrs {
33+ # Compat issues with Django 5.1
34+ # https://github.com/django-extensions/django-extensions/issues/1885
35+ doCheck = false ;
36+ } ;
2937 } ;
3038 } ;
3139
32- version = "2024.2.1 " ;
40+ version = "2024.3.0 " ;
3341
3442 src = fetchFromGitHub {
3543 owner = "pretalx" ;
3644 repo = "pretalx" ;
3745 rev = "v${ version } " ;
38- hash = "sha256-D0ju9aOVy/new9GWqyFalZYCisdmM7irWSbn2TVCJYQ =" ;
46+ hash = "sha256-Xv3VwYrwCGgOUf1ilD58ATj+bkehF9+im4124ivCaEU =" ;
3947 } ;
4048
4149 meta = with lib ; {
5462
5563 sourceRoot = "${ src . name } /src/pretalx/frontend/schedule-editor" ;
5664
57- npmDepsHash = "sha256-EAdeXdcC3gHun6BOHzvqpzv9+oDl1b/VTeNkYLiD+hA =" ;
65+ npmDepsHash = "sha256-i7awRuR7NxhpxN2IZuI01PsN6FjXht7BxTbB1k039HA =" ;
5866
5967 npmBuildScript = "build" ;
6068
@@ -146,9 +154,6 @@ python.pkgs.buildPythonApplication rec {
146154 ++ plugins ;
147155
148156 optional-dependencies = {
149- mysql = with python . pkgs ; [
150- mysqlclient
151- ] ;
152157 postgres = with python . pkgs ; [
153158 psycopg2
154159 ] ;
Original file line number Diff line number Diff line change 77
88buildPythonPackage rec {
99 pname = "pretalx-downstream" ;
10- version = "1.3.0 " ;
10+ version = "1.3.1 " ;
1111 pyproject = true ;
1212
1313 src = fetchFromGitHub {
1414 owner = "pretalx" ;
1515 repo = "pretalx-downstream" ;
1616 rev = "v${ version } " ;
17- hash = "sha256-xpacfU655vg6g1rD4uteeizj+Bll4fgI0AEddaGiCLE =" ;
17+ hash = "sha256-Q9519jNKQUeNCHg3ivjYyQm1ePMxp/bhtcJAselQiiM =" ;
1818 } ;
1919
2020 build-system = [ setuptools ] ;
Original file line number Diff line number Diff line change 77
88buildPythonPackage rec {
99 pname = "pretalx-media-ccc-de" ;
10- version = "1.3 .0" ;
10+ version = "1.4 .0" ;
1111 pyproject = true ;
1212
1313 src = fetchFromGitHub {
1414 owner = "pretalx" ;
1515 repo = "pretalx-media-ccc-de" ;
1616 rev = "v${ version } " ;
17- hash = "sha256-Cr9qbkb1VOH2EtDLSA5jmLiCnn1ICdvHnmTugCvHLc0 =" ;
17+ hash = "sha256-U+26hit4xXUzN8JT3WL+iGohqomX1ENb+ihM9IT1XWQ =" ;
1818 } ;
1919
2020 build-system = [ setuptools ] ;
Original file line number Diff line number Diff line change 77
88buildPythonPackage rec {
99 pname = "pretalx-pages" ;
10- version = "1.5 .0" ;
10+ version = "1.6 .0" ;
1111 pyproject = true ;
1212
1313 src = fetchFromGitHub {
1414 owner = "pretalx" ;
1515 repo = "pretalx-pages" ;
1616 rev = "v${ version } " ;
17- hash = "sha256-wLMl+2hAJQksCyeBnXxMIFh1/Qkosm7PqByW6QxMsyg =" ;
17+ hash = "sha256-9ZJSW6kdxpwHd25CuGTE4MMXylXaZKL3eAEKKdYiuXs =" ;
1818 } ;
1919
2020 build-system = [ setuptools ] ;
Original file line number Diff line number Diff line change 77
88buildPythonPackage rec {
99 pname = "pretalx-public-voting" ;
10- version = "1.6 .0" ;
10+ version = "1.7 .0" ;
1111 pyproject = true ;
1212
1313 src = fetchFromGitHub {
1414 owner = "pretalx" ;
1515 repo = "pretalx-public-voting" ;
1616 rev = "v${ version } " ;
17- hash = "sha256-1zxJ1b2CHfV2AVAneUJxurZ0L3QoMzuBf8c2wrj7yBA =" ;
17+ hash = "sha256-ei6GgPPEXv9WVhh+4U+WDFCMsT4bND9O85cPLpPWMhQ =" ;
1818 } ;
1919
2020 build-system = [ setuptools ] ;
Original file line number Diff line number Diff line change 1010
1111buildPythonPackage rec {
1212 pname = "pretalx-venueless" ;
13- version = "1.4 .0" ;
13+ version = "1.5 .0" ;
1414 pyproject = true ;
1515
1616 src = fetchFromGitHub {
1717 owner = "pretalx" ;
1818 repo = "pretalx-venueless" ;
1919 rev = "v${ version } " ;
20- hash = "sha256-llgRa18hxVoRSwU5UH6w4sE2W5ozCZm4Btbia2y0LbE =" ;
20+ hash = "sha256-1YWkyTaImnlGXZWrborvJrx8zc1FOZD/ugOik7S+fC8 =" ;
2121 } ;
2222
2323 nativeBuildInputs = [ gettext ] ;
You can’t perform that action at this time.
0 commit comments