Merge pull request #207283 from mweinelt/synapse-pyicu

matrix-synapse: Use improved user search
This commit is contained in:
Maximilian Bosch 2022-12-29 21:42:13 +01:00 committed by GitHub
commit 891ed931cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 19 additions and 15 deletions

View file

@ -29,7 +29,7 @@ in buildPythonApplication rec {
sha256 = "00358nzyw686ypqv45imc5k9frcqnhla0hpx9ynna3iy6iz5006x";
};
pythonPath = with pythonPackages; [ bsddb3 PyICU pygobject3 pycairo ];
pythonPath = with pythonPackages; [ bsddb3 pyicu pygobject3 pycairo ];
# Same installPhase as in buildPythonApplication but without --old-and-unmanageble
# install flag.

View file

@ -9,7 +9,7 @@
, lxml
, nose
, parsedatetime
, PyICU
, pyicu
, python-slugify
, pytimeparse
, pythonOlder
@ -46,7 +46,7 @@ buildPythonPackage rec {
glibcLocales
lxml
nose
PyICU
pyicu
pytz
];

View file

@ -4,7 +4,7 @@
, fetchPypi
, glibcLocales
, hypothesis
, PyICU
, pyicu
, pytest-mock
, pytestCheckHook
, pythonOlder
@ -24,7 +24,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
fastnumbers
PyICU
pyicu
];
checkInputs = [

View file

@ -4,7 +4,7 @@
, text-unidecode
, chardet
, banal
, PyICU
, pyicu
, pytestCheckHook
}:
buildPythonPackage rec {
@ -22,7 +22,7 @@ buildPythonPackage rec {
text-unidecode
chardet
banal
PyICU
pyicu
];
checkInputs = [

View file

@ -7,12 +7,14 @@
}:
buildPythonPackage rec {
pname = "PyICU";
pname = "pyicu";
version = "2.10.2";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-DDMJ7qf6toV1B6zmJANRW2D+CWy/tPkNFPVf91xUQcE=";
pname = "PyICU";
inherit version;
hash = "sha256-DDMJ7qf6toV1B6zmJANRW2D+CWy/tPkNFPVf91xUQcE=";
};
nativeBuildInputs = [ icu ]; # for icu-config, but should be replaced with pkg-config

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, isPy3k
, PyICU
, pyicu
, python
}:
@ -18,7 +18,7 @@ buildPythonPackage {
sha256 = "01195hphjnlcvgykw143rf06s6y955sjc1r825a58vhjx7hj54zh";
};
propagatedBuildInputs = [ PyICU ];
propagatedBuildInputs = [ pyicu ];
checkPhase = ''
${python.interpreter} -m unittest slob

View file

@ -65,6 +65,7 @@ buildPythonApplication rec {
psycopg2
pyasn1
pydantic
pyicu
pyjwt
pymacaroons
pynacl

View file

@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
psycopg2
psutil
jinja2
PyICU
pyicu
datrie
];

View file

@ -11,7 +11,7 @@ python3Packages.buildPythonApplication {
sha256 = "0m3dnc3816ja3kmik1wabb706dkqdf5sxvabwgf2rcrq891xcddd";
};
propagatedBuildInputs = [ python3Packages.PyICU python3Packages.slob ];
propagatedBuildInputs = [ python3Packages.pyicu python3Packages.slob ];
meta = with lib; {
description = "Tool to convert XDXF dictionary files to slob format";

View file

@ -148,6 +148,7 @@ mapAliases ({
pycryptodome-test-vectors = throw "pycryptodome-test-vectors has been removed because it is an internal package to pycryptodome"; # added 2022-05-28
pyialarmxr = pyialarmxr-homeassistant; # added 2022-06-07
pyialarmxr-homeassistant = throw "The package was removed together with the component support in home-assistant 2022.7.0"; # added 2022-07-07
PyICU = pyicu; # Added 2022-12-22
pyjson5 = json5; # added 2022-08-28
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
PyLD = pyld; # added 2022-06-22

View file

@ -8017,7 +8017,7 @@ self: super: with self; {
pyicloud = callPackage ../development/python-modules/pyicloud { };
PyICU = callPackage ../development/python-modules/pyicu { };
pyicu = callPackage ../development/python-modules/pyicu { };
pyimpfuzzy = callPackage ../development/python-modules/pyimpfuzzy {
inherit (pkgs) ssdeep;