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
35
pkgs/development/python-modules/deap/default.nix
Normal file
35
pkgs/development/python-modules/deap/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, python, numpy, matplotlib, nose }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "deap";
|
||||
version = "1.3.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0bvshly83c4h5jhxaa97z192viczymz5fxp6vl8awjmmrs9l9x8i";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i '/use_2to3=True/d' setup.py
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ numpy matplotlib ];
|
||||
|
||||
preBuild = ''
|
||||
2to3 -wn deap
|
||||
'';
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
nosetests --verbosity=3
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
|
||||
homepage = "https://github.com/DEAP/deap";
|
||||
license = licenses.lgpl3;
|
||||
maintainers = with maintainers; [ psyanticy ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue