git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #41839 from Assassinkin/deap

pythonPackages.deap: init at 1.2.2

commita8765ad7b5dcc0d093238cb8089dae32ed30864f authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateTue 12 Jun 2018, 18:25 (8 years ago) parent67d00a4c8cc418
2 files changed+28
pkgs/development/python-modules/deap/default.nix+26 pkgs/top-level/python-packages.nix+2
pkgs/development/python-modules/deap/default.nixnew file+26
@@ -0,0 +1,26 @@
1+{ stdenv, buildPythonPackage, fetchPypi, python, numpy, matplotlib }:
2+
3+buildPythonPackage rec {
4+ pname = "deap";
5+ version = "1.2.2";
6+
7+ src = fetchPypi {
8+ inherit pname version;
9+ sha256 = "95c63e66d755ec206c80fdb2908851c0bef420ee8651ad7be4f0578e9e909bcf";
10+ };
11+
12+ propagatedBuildInputs = [ numpy matplotlib ];
13+
14+ checkPhase = ''
15+ ${python.interpreter} setup.py nosetests --verbosity=3
16+ '';
17+
18+ meta = with stdenv.lib; {
19+ description = "DEAP is a novel evolutionary computation framework for rapid prototyping and testing of ideas.";
20+ homepage = https://github.com/DEAP/deap;
21+ license = licenses.lgpl3;
22+ maintainers = with maintainers; [ psyanticy ];
23+ };
24+
25+}
26+
pkgs/top-level/python-packages.nix+2
@@ -239,6 +239,8 @@ in {
239239
240240 dbfread = callPackage ../development/python-modules/dbfread { };
241241
242+ deap = callPackage ../development/python-modules/deap { };
243+
242244 dkimpy = callPackage ../development/python-modules/dkimpy { };
243245
244246 diff_cover = callPackage ../development/python-modules/diff_cover { };