7 stdenv.mkDerivation (finalAttrs: {
12 url = "https://bitbucket.org/odedevs/ode/downloads/ode-${finalAttrs.version}.tar.gz";
13 hash = "sha256-uode3RZFcJWHle6qcPFIU7/DTMmHH4rd6NpH4SvVRnk=";
16 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
17 darwin.apple_sdk.frameworks.CoreServices
18 darwin.apple_sdk.frameworks.GLUT
21 env.CXXFLAGS = lib.optionalString stdenv.cc.isClang (toString [
23 "-Wno-error=c++11-narrowing"
27 description = "Open Dynamics Engine";
28 mainProgram = "ode-config";
29 homepage = "https://www.ode.org";
30 license = with licenses; [ bsd3 lgpl21Only lgpl3Only zlib ];
31 maintainers = with maintainers; [ wegank ];
32 platforms = platforms.unix;