Commit 73e2bf78 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files
parent 5dec8acb
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -14,14 +14,13 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "gepetto-viewer-corba";
  version = "5.8.0";
  pyproject = false; # CMake
  version = "5.8.1";

  src = fetchFromGitHub {
    owner = "gepetto";
    repo = "gepetto-viewer-corba";
    rev = "v${finalAttrs.version}";
    hash = "sha256-/bpAs4ca/+QjWEGuHhuDT8Ts2Ggg+DZWETZfjho6E0w=";
    hash = "sha256-C7xrODoKCcyLPZr0+zZSZ/o5i5EeNsxCPXp2WrP28A4=";
  };

  outputs = [
@@ -29,12 +28,6 @@ stdenv.mkDerivation (finalAttrs: {
    "doc"
  ];

  postPatch = ''
    substituteInPlace src/CMakeLists.txt \
      --replace-fail "ARGUMENTS $" "ARGUMENTS -p${python3Packages.omniorbpy}/${python3Packages.python.sitePackages} $" \
      --replace-fail '$'{CMAKE_SOURCE_DIR}/cmake '$'{JRL_CMAKE_MODULES}
  '';

  buildInputs = [ libsForQt5.qtbase ];

  nativeBuildInputs = [