1 { lib, stdenv, fetchurl, qtbase, qtx11extras, ncurses5, xorg, zlib, python27Packages }:
6 url = "https://dl.cocotec.io/fdr/fdr-3814-linux-x86_64.tar.gz";
7 sha256 = "0cajz1gz4slq9nfhm8dqdgxl0kc950838n0lrf8jw4vl54gv6chh";
10 libPath = lib.makeLibraryPath [
12 python27Packages.python
30 ln -s ${ncurses5.out}/lib/libtinfo.so.5 $out/lib/libtinfo.so.5
31 ln -s ${qtbase.bin}/${qtbase.qtPluginPrefix} $out/lib/qt_plugins
32 ln -s ${zlib.out}/lib/libz.so.1 $out/lib/libz.so.1
34 for b in fdr4 _fdr4 refines _refines cspmprofiler cspmexplorerprof
36 patchelf --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
37 --set-rpath "$libPath:$out/lib" \
41 for l in corei7/librefines.so \
42 libcspm_process_compiler.so \
47 libprocess_compiler.so \
49 librefines_licensing.so \
50 libboost_date_time.so.1.60.0 \
51 libboost_filesystem.so.1.60.0 \
52 libboost_iostreams.so.1.60.0 \
53 libboost_program_options.so.1.60.0 \
54 libboost_serialization.so.1.60.0 \
55 libboost_system.so.1.60.0
57 patchelf --set-rpath "$libPath:$out/lib" \
63 homepage = "https://cocotec.io/fdr/";
64 description = "CSP refinement checker";
65 license = licenses.unfreeRedistributable;
66 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
67 platforms = platforms.linux;
68 maintainers = with maintainers; [ nickhu ];