about summary refs log tree commit diff
path: root/pkgs/development/python-modules/tflearn/default.nix
blob: 3bd15b7fba5e1c59977335e72565b84c475d754a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  lib,
  fetchPypi,
  buildPythonPackage,
  pytest,
  scipy,
  h5py,
  pillow,
  tensorflow,
}:

buildPythonPackage rec {
  pname = "tflearn";
  version = "0.5.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "818aa57667693810415dc203ba3f75f1541e931a8dc30b6e8b21563541a70388";
  };

  buildInputs = [ pytest ];

  propagatedBuildInputs = [
    scipy
    h5py
    pillow
    tensorflow
  ];

  doCheck = false;

  meta = with lib; {
    description = "Deep learning library featuring a higher-level API for TensorFlow";
    homepage = "https://github.com/tflearn/tflearn";
    license = licenses.mit;
  };
}