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";
|
sha256 = "1lmhbpwsqh1v93krlqqhafw2pc3y0qp8zby186yllbph6s8kdp35";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python2Packages; [ msgpack pyqt4 numpy pyopencl ] ++ [ openssl ];
|
propagatedBuildInputs = with python2Packages; [ msgpack pyqt4 numpy pyopencl setuptools ] ++ [ openssl ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Remove interaction and misleading output
|
# Remove interaction and misleading output
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "nothing = raw_input()" pass \
|
--replace "nothing = raw_input()" pass \
|
||||||
--replace 'print "It looks like building the package failed.\n" \' 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 \
|
substituteInPlace src/pyelliptic/openssl.py \
|
||||||
--replace "libdir.append(find_library('ssl'))" "libdir.append('${openssl.out}/lib/libssl.so')"
|
--replace "libdir.append(find_library('ssl'))" "libdir.append('${openssl.out}/lib/libssl.so')"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user