15 stdenv.mkDerivation (finalAttrs: {
16 pname = "gepetto-viewer-corba";
18 pyproject = false; # CMake
20 src = fetchFromGitHub {
22 repo = "gepetto-viewer-corba";
23 rev = "v${finalAttrs.version}";
24 hash = "sha256-/bpAs4ca/+QjWEGuHhuDT8Ts2Ggg+DZWETZfjho6E0w=";
33 substituteInPlace src/CMakeLists.txt \
34 --replace-fail "ARGUMENTS $" "ARGUMENTS -p${python3Packages.omniorbpy}/${python3Packages.python.sitePackages} $" \
35 --replace-fail '$'{CMAKE_SOURCE_DIR}/cmake '$'{JRL_CMAKE_MODULES}
38 buildInputs = [ libsForQt5.qtbase ];
43 libsForQt5.wrapQtAppsHook
45 python3Packages.omniorb
48 propagatedBuildInputs = [
50 python3Packages.gepetto-viewer
51 python3Packages.omniorbpy
56 # Fontconfig error: Cannot load default config file: No such file: (null)
57 env.FONTCONFIG_FILE = "${fontconfig.out}/etc/fonts/fonts.conf";
59 # Fontconfig error: No writable cache directories
60 preBuild = "export XDG_CACHE_HOME=$(mktemp -d)";
63 homepage = "https://github.com/gepetto/gepetto-viewer-corba";
64 description = "CORBA client/server for gepetto-viewer.";
65 license = lib.licenses.bsd3;
66 maintainers = [ lib.maintainers.nim65s ];
67 platforms = lib.platforms.unix;