pybitmessage: fix build
- use setuptools - use msgpack instead of msgpack-python
This commit is contained in:
parent
22aef72ff1
commit
7408c39d20
@ -12,14 +12,15 @@ python2Packages.buildPythonApplication rec {
|
||||
sha256 = "1lmhbpwsqh1v93krlqqhafw2pc3y0qp8zby186yllbph6s8kdp35";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python2Packages; [ msgpack pyqt4 numpy pyopencl ] ++ [ openssl ];
|
||||
propagatedBuildInputs = with python2Packages; [ msgpack pyqt4 numpy pyopencl setuptools ] ++ [ openssl ];
|
||||
|
||||
preConfigure = ''
|
||||
# Remove interaction and misleading output
|
||||
substituteInPlace setup.py \
|
||||
--replace "nothing = raw_input()" pass \
|
||||
--replace 'print "It looks like building the package failed.\n" \' pass \
|
||||
--replace ' "You may be missing a C++ compiler and the OpenSSL headers."' pass
|
||||
--replace ' "You may be missing a C++ compiler and the OpenSSL headers."' pass \
|
||||
--replace 'msgpack-python' 'msgpack'
|
||||
|
||||
substituteInPlace src/pyelliptic/openssl.py \
|
||||
--replace "libdir.append(find_library('ssl'))" "libdir.append('${openssl.out}/lib/libssl.so')"
|
||||
|
Loading…
Reference in New Issue
Block a user