pythonPAckages.simpleai: refactor move to python-modules
This commit is contained in:
parent
1a4f32c3f7
commit
f0e62b79fc
29
pkgs/development/python-modules/simpleai/default.nix
Normal file
29
pkgs/development/python-modules/simpleai/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4589,28 +4589,7 @@ in {
|
|||||||
|
|
||||||
tflearn = callPackage ../development/python-modules/tflearn { };
|
tflearn = callPackage ../development/python-modules/tflearn { };
|
||||||
|
|
||||||
simpleai = buildPythonPackage rec {
|
simpleai = callPackage ../development/python-modules/simpleai { };
|
||||||
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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
word2vec = buildPythonPackage rec {
|
word2vec = buildPythonPackage rec {
|
||||||
name = "word2vec-${version}";
|
name = "word2vec-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user