mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pythonPAckages.simpleai: refactor move to python-modules
This commit is contained in:
parent
1a4f32c3f7
commit
f0e62b79fc
2 changed files with 30 additions and 22 deletions
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 { };
|
||||
|
||||
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}";
|
||||
|
|
Loading…
Reference in a new issue