mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
0215034f25
when they already rely on SRI hashes.
28 lines
658 B
Nix
28 lines
658 B
Nix
{ lib, buildPythonPackage, fetchPypi, numpy, matplotlib, nose }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "deap";
|
|
version = "1.3.3";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-h3LxsP/wQtXlFrCuusLHBiQwRap9DejguGWPOAGBzzE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ numpy matplotlib ];
|
|
|
|
nativeCheckInputs = [ 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 ];
|
|
};
|
|
|
|
}
|
|
|