about summary refs log tree commit diff
path: root/pkgs/servers/mautrix-telegram
diff options
context:
space:
mode:
authorMaximilian Bosch <maximilian@mbosch.me>2019-12-29 23:37:31 +0100
committerJon <jonringer@users.noreply.github.com>2019-12-29 19:56:05 -0800
commit975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa (patch)
tree583d87a0fe18bcf53d3ca5f84ecb1976525191c4 /pkgs/servers/mautrix-telegram
parent95ee079ae672c7849a64ee7a6b5f8147698e8b6f (diff)
downloadnixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.tar
nixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.tar.gz
nixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.tar.bz2
nixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.tar.lz
nixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.tar.xz
nixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.tar.zst
nixlib-975a6b7b1dbcbd9bba2b0a2d3d2d38bb605ababa.zip
mautrix-telegram: mark as broken on darwin
Tests currently fail like this:

```
/nix/store/yslk7x7iw3hka6d33kmnba9sxaia4492-python3.7-mautrix-0.4.0/lib/python3.7/site-packages/mautrix/util/manhole.py:9: in <module>
    from socket import SOL_SOCKET, SO_PEERCRED
E   ImportError: cannot import name 'SO_PEERCRED' from 'socket' (/nix/store/81qani7sdir46gjwf3a3jr2cv1aggkz1-python3-3.7.5/lib/python3.7/socket.py)
!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!
=============================== 1 error in 1.73s ===============================
```

Those values don't seem to be available on the MacOS-version of that
module. As there's no workaround implemented in the source, I assume
that upstream doesn't intend to support darwin-alike platforms atm.
Diffstat (limited to 'pkgs/servers/mautrix-telegram')
-rw-r--r--pkgs/servers/mautrix-telegram/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/servers/mautrix-telegram/default.nix b/pkgs/servers/mautrix-telegram/default.nix
index f30f667dabbc..5089acc2a0f3 100644
--- a/pkgs/servers/mautrix-telegram/default.nix
+++ b/pkgs/servers/mautrix-telegram/default.nix
@@ -65,6 +65,7 @@ buildPythonPackage rec {
     homepage = https://github.com/tulir/mautrix-telegram;
     description = "A Matrix-Telegram hybrid puppeting/relaybot bridge";
     license = licenses.agpl3Plus;
+    platforms = platforms.linux;
     maintainers = with maintainers; [ nyanloutre ma27 ];
   };
 }