16 url = "https://dl.cocotec.io/fdr/fdr-3814-linux-x86_64.tar.gz";
17 sha256 = "0cajz1gz4slq9nfhm8dqdgxl0kc950838n0lrf8jw4vl54gv6chh";
20 libPath = lib.makeLibraryPath [
22 python27Packages.python
40 ln -s ${ncurses5.out}/lib/libtinfo.so.5 $out/lib/libtinfo.so.5
41 ln -s ${qtbase.bin}/${qtbase.qtPluginPrefix} $out/lib/qt_plugins
42 ln -s ${zlib.out}/lib/libz.so.1 $out/lib/libz.so.1
44 for b in fdr4 _fdr4 refines _refines cspmprofiler cspmexplorerprof
46 patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
47 --set-rpath "$libPath:$out/lib" \
51 for l in corei7/librefines.so \
52 libcspm_process_compiler.so \
57 libprocess_compiler.so \
59 librefines_licensing.so \
60 libboost_date_time.so.1.60.0 \
61 libboost_filesystem.so.1.60.0 \
62 libboost_iostreams.so.1.60.0 \
63 libboost_program_options.so.1.60.0 \
64 libboost_serialization.so.1.60.0 \
65 libboost_system.so.1.60.0
67 patchelf --set-rpath "$libPath:$out/lib" \
73 homepage = "https://cocotec.io/fdr/";
74 description = "CSP refinement checker";
75 license = licenses.unfreeRedistributable;
76 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
77 platforms = platforms.linux;
78 maintainers = with maintainers; [ nickhu ];