summary refs log tree commit diff
path: root/pkgs/servers/matrix-synapse
diff options
context:
space:
mode:
authorMichael Raskin <7c6f434c@mail.ru>2018-12-21 14:49:25 +0100
committerMichael Raskin <7c6f434c@mail.ru>2018-12-21 15:01:45 +0100
commit13d5941d50e262b8e310d9844975bce0a793596f (patch)
tree8d37c23ca45cf7007acfba3f4718971c732bcba1 /pkgs/servers/matrix-synapse
parent195f8ac5ac62c7d11fe43bb077b91c184df931a5 (diff)
downloadnixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.tar
nixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.tar.gz
nixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.tar.bz2
nixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.tar.lz
nixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.tar.xz
nixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.tar.zst
nixpkgs-13d5941d50e262b8e310d9844975bce0a793596f.zip
matrix-synapse: fix build by local dependency downgrade
Diffstat (limited to 'pkgs/servers/matrix-synapse')
-rw-r--r--pkgs/servers/matrix-synapse/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix
index b0330b72ae4..563530639d1 100644
--- a/pkgs/servers/matrix-synapse/default.nix
+++ b/pkgs/servers/matrix-synapse/default.nix
@@ -64,7 +64,13 @@ in buildPythonApplication rec {
     netaddr
     phonenumbers
     pillow
-    prometheus_client
+    (prometheus_client.overrideAttrs (x: {
+      src = fetchPypi {
+        pname = "prometheus_client";
+        version = "0.3.1";
+        sha256 = "093yhvz7lxl7irnmsfdnf2030lkj4gsfkg6pcmy4yr1ijk029g0p";
+      };
+    }))
     psutil
     psycopg2
     pyasn1