matrix-synapse: fix pynacl dependency

closes #34959
This commit is contained in:
Robert Schütz 2018-02-19 15:56:48 +01:00
parent cfa3e7e633
commit c8d3a81d2a

View File

@ -1,4 +1,4 @@
{ lib, pkgs, stdenv, pythonPackages, fetchurl, fetchFromGitHub }:
{ lib, pkgs, stdenv, pythonPackages, fetchurl, fetchFromGitHub, fetchpatch }:
let
matrix-angular-sdk = pythonPackages.buildPythonPackage rec {
name = "matrix-angular-sdk-${version}";
@ -35,7 +35,13 @@ in pythonPackages.buildPythonApplication rec {
sha256 = "1ggdnb4c8y835j9lxsglxry6fqy7d190s70rccjrc3rj0p5vwlyj";
};
patches = [ ./matrix-synapse.patch ];
patches = [
(fetchpatch { # Update pynacl dependency
url = "https://github.com/matrix-org/synapse/pull/2888.patch";
sha256 = "0gr9vwv02ps17d6pzassp9xmj1qbdgxwn1z4kckx4x964zzhyn4f";
})
./matrix-synapse.patch
];
propagatedBuildInputs = with pythonPackages; [
blist canonicaljson daemonize dateutil frozendict pillow pyasn1