Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
985 B · 63 lines
Nix
at litex
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{ lib, stdenv, toPythonModule, fetchFromGitHub, cmake, boost, eigen, ipopt, nlopt, pagmo2, python, cloudpickle, ipyparallel, numba, numpy, pybind11}:
toPythonModule (stdenv.mkDerivation rec { pname = "pygmo"; version = "2.19.0";
src = fetchFromGitHub { owner = "esa"; repo = "pygmo2"; rev = "refs/tags/v${version}"; hash = "sha256-gjmZf66AcNaAMqyLerBgRu5RUzV6qrT7DigTNE39AwI="; };
cmakeFlags = [ "-DPYGMO_INSTALL_PATH=${placeholder "out"}/lib/${python.libPrefix}/site-packages" ];
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ cloudpickle ipyparallel numba numpy python ];
buildInputs = [ boost eigen ipopt nlopt pagmo2 pybind11 ];
doCheck = true;
meta = with lib; { description = "Parallel optimisation for Python"; homepage = "https://github.com/esa/pygmo2"; license = licenses.gpl3Plus; maintainers = [ maintainers.costrouc ]; };})