Skip to content

Instantly share code, notes, and snippets.

@nico202
Last active April 14, 2016 15:09
Show Gist options
  • Save nico202/bc5c6124f117fab9f577ed3aa303fc18 to your computer and use it in GitHub Desktop.
Save nico202/bc5c6124f117fab9f577ed3aa303fc18 to your computer and use it in GitHub Desktop.
What's the right way to do this?
{ stdenv, fetchFromGitHub, ace, cmake, python, swig, yarp
}:
stdenv.mkDerivation rec {
name = "yarp-bindings-${version}";
version = yarp.version;
src = yarp.src;
preConfigure = "cd bindings";
cmakeFlags = [ "-DCREATE_PYTHON=TRUE" ];
buildInputs = [ cmake ace swig yarp python ];
enableParallelBuilding = true;
meta = yarp.meta;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment