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
No known key found for this signature in database
GPG key ID: 9ED59B0AB1EAF573
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 ];
};
}

View file

@ -4589,28 +4589,7 @@ in {
tflearn = callPackage ../development/python-modules/tflearn { };
simpleai = buildPythonPackage rec {
version = "0.7.11";
name = "simpleai-${version}";
src = pkgs.fetchurl {
url= "https://pypi.python.org/packages/source/s/simpleai/${name}.tar.gz";
sha256 = "03frjc5jxsz9xm24jz7qa4hcp0dicgazrxkdsa2rsnir672lwkwz";
};
propagatedBuildInputs = with self; [ numpy ];
disabled = isPy3k;
#No tests in archive
doCheck = false;
meta = {
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 ];
};
};
simpleai = callPackage ../development/python-modules/simpleai { };
word2vec = buildPythonPackage rec {
name = "word2vec-${version}";