matrix-synapse: 0.22.1 -> 0.24.1

Also fix use of buildPythonApplication where buildPythonPackage is
more appropriate.
This commit is contained in:
Benjamin Saunders 2017-10-09 20:39:50 -07:00
parent 274f71e18c
commit 11d3143f91

View File

@ -1,6 +1,6 @@
{ lib, pkgs, stdenv, pythonPackages, fetchurl, fetchFromGitHub }:
let
matrix-angular-sdk = pythonPackages.buildPythonApplication rec {
matrix-angular-sdk = pythonPackages.buildPythonPackage rec {
name = "matrix-angular-sdk-${version}";
version = "0.6.8";
@ -9,7 +9,7 @@ let
sha256 = "0gmx4y5kqqphnq3m7xk2vpzb0w2a4palicw7wfdr1q2schl9fhz2";
};
};
matrix-synapse-ldap3 = pythonPackages.buildPythonApplication rec {
matrix-synapse-ldap3 = pythonPackages.buildPythonPackage rec {
name = "matrix-synapse-ldap3-${version}";
version = "0.1.2";
@ -24,24 +24,24 @@ let
};
in pythonPackages.buildPythonApplication rec {
name = "matrix-synapse-${version}";
version = "0.22.1";
version = "0.24.1";
src = fetchFromGitHub {
owner = "matrix-org";
repo = "synapse";
rev = "v${version}";
sha256 = "06kqqsfqmziff7i99yyxqvkqjm7fwi56abc2vy25g9kqzpdvkay7";
sha256 = "08w8sawq0nj28dzi9wc4rsg9z2qv528djj4zbcs5c4yc3mylq1nq";
};
patches = [ ./matrix-synapse.patch ];
propagatedBuildInputs = with pythonPackages; [
blist canonicaljson daemonize dateutil frozendict pillow pybcrypt pyasn1
blist canonicaljson daemonize dateutil frozendict pillow pyasn1
pydenticon pymacaroons-pynacl pynacl pyopenssl pysaml2 pytz requests
signedjson systemd twisted ujson unpaddedbase64 pyyaml
matrix-angular-sdk bleach netaddr jinja2 psycopg2
psutil msgpack lxml matrix-synapse-ldap3
phonenumbers jsonschema
phonenumbers jsonschema affinity bcrypt
];
# Checks fail because of Tox.