pythonPAckages.simpleai: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 17:15:09 -04:00
parent 1a4f32c3f7
commit f0e62b79fc
2 changed files with 30 additions and 22 deletions

View File

@@ -0,0 +1,29 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, numpy
, isPy3k
}:
buildPythonPackage rec {
version = "0.7.11";
pname = "simpleai";
disabled = isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "03frjc5jxsz9xm24jz7qa4hcp0dicgazrxkdsa2rsnir672lwkwz";
};
propagatedBuildInputs = [ numpy ];
#No tests in archive
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/simpleai-team/simpleai;
description = "This lib implements many of the artificial intelligence algorithms described on the book 'Artificial Intelligence, a Modern Approach'";
maintainers = with maintainers; [ NikolaMandic ];
};
}