1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 15:41:40 +00:00

plyvel: restrict to linux

on macOS we see the following error:

ImportError: Failed to import test module: test.test_plyvel
Traceback (most recent call last):
  File "/nix/store/0mha803yql9q7b6h93m8940z3sjbhiy8-python3-3.6.6/lib/python3.6/unittest/loader.py", line 428, in _find_test_path
    module = self._get_module_from_name(name)
  File "/nix/store/0mha803yql9q7b6h93m8940z3sjbhiy8-python3-3.6.6/lib/python3.6/unittest/loader.py", line 369, in _get_module_from_name
    __import__(name)
  File "/private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/test/test_plyvel.py", line 17, in <module>
    import plyvel
  File "/private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/plyvel/__init__.py", line 6, in <module>
    from ._plyvel import (  # noqa
ImportError: dlopen(/private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/plyvel/_plyvel.cpython-36m-darwin.so, 2): Library not loaded: /nix/store/rq39v3s1l6vc85wwmrxsmlpi4rnbjnx6-leveldb-1.20/lib/out-shared/libleveldb.dylib.1.20
  Referenced from: /private/tmp/nix-build-python3.6-plyvel-1.0.5.drv-0/plyvel-1.0.5/plyvel/_plyvel.cpython-36m-darwin.so
  Reason: image not found
This commit is contained in:
Jörg Thalheim 2018-11-09 21:44:49 +00:00
parent a117531c9a
commit 634db3c436
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -22,8 +22,8 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Fast and feature-rich Python interface to LevelDB";
platforms = platforms.linux;
homepage = https://github.com/wbolster/plyvel;
license = licenses.bsd3;
};
}