Last active
August 2, 2016 11:35
-
-
Save mguijarr/77cc7baee4ec6a347069c067272c11ba to your computer and use it in GitHub Desktop.
pytango package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, fetchurl, pkgconfig, python, buildPythonPackage, boost, numpy, tango }: | |
let version = "9.2.0b"; in | |
buildPythonPackage rec { | |
name = "pytango-${version}"; | |
src = fetchurl { | |
url = "https://github.com/tango-cs/pytango/archive/v${version}.tar.gz"; | |
sha256 = "01wnb9bxszw2pr7jcxcbjdds4y4w7q8cx8ibj73lj6dbjl3ai116"; | |
}; | |
BOOST_ROOT = ""; | |
#patches = [ | |
# ./setup.patch | |
#]; | |
buildInputs = [ pkgconfig boost python ]; | |
propagatedBuildInputs = [ tango numpy ]; | |
buildFlags = "BOOST_LIB=boost_python"; | |
meta = with stdenv.lib; { | |
description = "Python bindings for Tango Control System"; | |
homepage = http://www.esrf.eu/computing/cs/tango/tango_doc/kernel_doc/pytango/latest/index.html; | |
license = licenses.lgpl3; | |
maintainers = [ ]; | |
platforms = platforms.linux; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This produces the
PyTango
extension but when doingldd _PyTango.so
here is what I get:linux-vdso.so.1 (0x00007fff4bfff000)
libgcc_s.so.1 => /nix/store/dad9vxniabwzidvvxfsfj6vb0xncsbbb-glibc-2.23/lib/libgcc_s.so.1 (0x00007f5a90b0e000)
libtango.so.9 => /nix/store/76sqq5wzhk5by46x4q4l3hbmvx8r9c91-tango-9.2.2/lib/libtango.so.9 (0x00007f5a90306000)
libboost_python.so.1.60.0 => /nix/store/ri7fh5iyl2drsisys4kbw60lp5jh2hcq-boost-1.60.0/lib/libboost_python.so.1.60.0 (0x00007f5a900ba000)
libpython2.7.so.1.0 => /nix/store/hwzpwrk1rgglk5sih7sf7vb75rwq1036-python-2.7.12/lib/libpython2.7.so.1.0 (0x00007f5a8fca2000)
libstdc++.so.6 => /nix/store/254i6ng5nq7gkjqrc5jjdx9pvzcgqvws-gcc-5.4.0-lib/lib/libstdc++.so.6 (0x00007f5a8f927000)
...
libomniORB4.so.2 => not found
libomniDynamic4.so.2 => not found
libomnithread.so.4 => not found
libzmq.so.5 => /nix/store/p34h2z2xpg853350swamwnvn989n5bqi-zeromq-4.1.4/lib/libzmq.so.5 (0x00007f5a8ebe6000)
libdl.so.2 => /nix/store/dad9vxniabwzidvvxfsfj6vb0xncsbbb-glibc-2.23/lib/libdl.so.2 (0x00007f5a8e9e2000)
libomniORB4.so.2 => /nix/store/jpqc0ixi5kpvqla0dyk2k2864h2iid9j-omniorb-4.2.0/lib/libomniORB4.so.2 (0x00007f5a8e627000)
libomniDynamic4.so.2 => /nix/store/jpqc0ixi5kpvqla0dyk2k2864h2iid9j-omniorb-4.2.0/lib/libomniDynamic4.so.2 (0x00007f5a8e134000)
libCOS4.so.2 => /nix/store/jpqc0ixi5kpvqla0dyk2k2864h2iid9j-omniorb-4.2.0/lib/libCOS4.so.2 (0x00007f5a8dd2b000)
...
libsodium.so.18 => /nix/store/470r99f0cwix4p5dcysk5b1h27dw1sr3-libsodium-1.0.10/lib/libsodium.so.18 (0x00007f5a8d29b000)
We can see omniorb libraries being listed twice...