mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
weblate: 5.7.2 -> 5.8.3 (#350447)
This commit is contained in:
@@ -15,9 +15,7 @@
|
||||
let
|
||||
python = python3.override {
|
||||
packageOverrides = final: prev: {
|
||||
django = prev.django_5.overridePythonAttrs (old: {
|
||||
dependencies = old.dependencies ++ prev.django_5.optional-dependencies.argon2;
|
||||
});
|
||||
django = prev.django_5;
|
||||
sentry-sdk = prev.sentry-sdk_2;
|
||||
djangorestframework = prev.djangorestframework.overridePythonAttrs (old: {
|
||||
# https://github.com/encode/django-rest-framework/discussions/9342
|
||||
@@ -28,10 +26,12 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "weblate";
|
||||
version = "5.7.2";
|
||||
version = "5.8.3";
|
||||
|
||||
pyproject = true;
|
||||
|
||||
disabled = python.pythonOlder "3.11";
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"static"
|
||||
@@ -41,18 +41,9 @@ python.pkgs.buildPythonApplication rec {
|
||||
owner = "WeblateOrg";
|
||||
repo = "weblate";
|
||||
rev = "refs/tags/weblate-${version}";
|
||||
hash = "sha256-cIwCNYXbg7l6z9OAkMAGJ783QI/nCOyrhLPURDcDv+Y=";
|
||||
hash = "sha256-Kmna23jhhFRJ0ExplYNPFEaIAJxmwHU2azivfKHHnjs=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
# https://github.com/WeblateOrg/weblate/commit/9695f912b0d24ae999d9442bb49719b4bb552696
|
||||
"qrcode"
|
||||
# https://github.com/WeblateOrg/weblate/commit/1cf2a423b20fcd2dde18a43277311334e38208e7
|
||||
"rapidfuzz"
|
||||
# https://github.com/WeblateOrg/weblate/commit/3e34566fd7c151e1983586586bd7651cefe79585
|
||||
"redis"
|
||||
];
|
||||
|
||||
patches = [
|
||||
# FIXME This shouldn't be necessary and probably has to do with some dependency mismatch.
|
||||
./cache.lock.patch
|
||||
@@ -93,6 +84,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
cssselect
|
||||
cython
|
||||
cyrtranslit
|
||||
dateparser
|
||||
diff-match-patch
|
||||
django-appconf
|
||||
django-celery-beat
|
||||
@@ -105,6 +97,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
django-otp-webauthn
|
||||
django
|
||||
djangorestframework
|
||||
drf-spectacular
|
||||
filelock
|
||||
fluent-syntax
|
||||
gitpython
|
||||
@@ -142,8 +135,10 @@ python.pkgs.buildPythonApplication rec {
|
||||
weblate-language-data
|
||||
weblate-schemas
|
||||
]
|
||||
++ django.optional-dependencies.argon2
|
||||
++ python-redis-lock.optional-dependencies.django
|
||||
++ celery.optional-dependencies.redis;
|
||||
++ celery.optional-dependencies.redis
|
||||
++ drf-spectacular.optional-dependencies.sidecar;
|
||||
|
||||
optional-dependencies = {
|
||||
postgres = with python.pkgs; [ psycopg ];
|
||||
|
||||
@@ -8,15 +8,16 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "diff-match-patch";
|
||||
version = "20230430";
|
||||
format = "pyproject";
|
||||
version = "20241021";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-lTAZzbnJ0snke1sSvP889HRvxFmOtAYHb6H8J+ah8Vw=";
|
||||
pname = "diff_match_patch";
|
||||
inherit version;
|
||||
hash = "sha256-vq5XqZ+kgIRTKTXuKWi4Zh24YYYuyCxvIfSs3W2DUHM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ flit-core ];
|
||||
dependencies = [ flit-core ];
|
||||
|
||||
nativeCheckInputs = [ unittestCheckHook ];
|
||||
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "django-otp-webauthn";
|
||||
version = "0.3.0";
|
||||
version = "0.4.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "django_otp_webauthn";
|
||||
hash = "sha256-+Y46/PDeXL9zayoZykaU63faQmnLHzYPmqJJeRBx+hs=";
|
||||
hash = "sha256-BXwIjQjynTjFK+bNML5i35qxQ7TJeb4Xc+duS6Y+5Fk=";
|
||||
};
|
||||
|
||||
build-system = [ hatchling ];
|
||||
|
||||
@@ -93,6 +93,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "drf_spectacular" ];
|
||||
|
||||
optional-dependencies.sidecar = [ drf-spectacular-sidecar ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Sane and flexible OpenAPI 3 schema generation for Django REST framework";
|
||||
homepage = "https://github.com/tfranzel/drf-spectacular";
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "translate-toolkit";
|
||||
version = "3.13.4";
|
||||
version = "3.14.1";
|
||||
|
||||
pyproject = true;
|
||||
build-system = [ setuptools-scm ];
|
||||
@@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
src = fetchPypi {
|
||||
pname = "translate_toolkit";
|
||||
inherit version;
|
||||
hash = "sha256-d0q4xpN37xeLSmQMBrDGZlGjAj4hHfkazGUHzl89UHI=";
|
||||
hash = "sha256-IUjEN8Up1Or4nFo71WkDduq+6Xw8ObfUgkABp88zPoY=";
|
||||
};
|
||||
|
||||
dependencies = [
|
||||
|
||||
Reference in New Issue
Block a user