uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
63
pkgs/development/python-modules/pygmo/default.nix
Normal file
63
pkgs/development/python-modules/pygmo/default.nix
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, toPythonModule
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, boost
|
||||
, eigen
|
||||
, ipopt
|
||||
, nlopt
|
||||
, pagmo2
|
||||
, python
|
||||
, cloudpickle
|
||||
, ipyparallel
|
||||
, numba
|
||||
, numpy
|
||||
, pybind11
|
||||
}:
|
||||
|
||||
toPythonModule (stdenv.mkDerivation rec {
|
||||
pname = "pygmo";
|
||||
version = "2.18.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "esa";
|
||||
repo = "pygmo2";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-he7gxRRJd6bBrD0Z0i+CQTr5JH4P3Im/beNGO+HfmNM=";
|
||||
};
|
||||
|
||||
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 ];
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue