tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pythonPackages.Keras: 1.0.3 -> 1.2.2
Frederik Rietdijk
9 years ago
397e59b4
97c3bebd
+44
-21
2 changed files
expand all
collapse all
unified
split
pkgs
development
python-modules
keras
default.nix
top-level
python-packages.nix
+43
pkgs/development/python-modules/keras/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv
2
+
, buildPythonPackage
3
+
, fetchPypi
4
+
, pytest
5
+
, pytestcov
6
+
, pytestpep8
7
+
, pytest_xdist
8
+
, six
9
+
, Theano
10
+
, pyyaml
11
+
}:
12
+
13
+
buildPythonPackage rec {
14
+
pname = "Keras";
15
+
version = "1.2.2";
16
+
name = "${pname}-${version}";
17
+
18
+
src = fetchPypi {
19
+
inherit pname version;
20
+
sha256 = "0bby93sffjadrxnx9j9nn2lq0ygsgqjp16260c6lz77b6r1qrcfj";
21
+
};
22
+
23
+
checkInputs = [
24
+
pytest
25
+
pytestcov
26
+
pytestpep8
27
+
pytest_xdist
28
+
];
29
+
30
+
propagatedBuildInputs = [
31
+
six Theano pyyaml
32
+
];
33
+
34
+
# Couldn't get tests working
35
+
doCheck = false;
36
+
37
+
meta = with stdenv.lib; {
38
+
description = "Deep Learning library for Theano and TensorFlow";
39
+
homepage = "https://keras.io";
40
+
license = licenses.mit;
41
+
maintainers = with maintainers; [ NikolaMandic ];
42
+
};
43
+
}
+1
-21
pkgs/top-level/python-packages.nix
···
31100
};
31101
};
31102
31103
-
Keras = buildPythonPackage rec {
31104
-
name = "Keras-${version}";
31105
-
version = "1.0.3";
31106
-
disabled = isPy3k;
31107
-
31108
-
src = pkgs.fetchurl {
31109
-
url = "mirror://pypi/k/keras/${name}.tar.gz";
31110
-
sha256 = "0wi826bvifvy12w490ghj1g45z5xb83q2cadqh425sg56p98khaq";
31111
-
};
31112
-
31113
-
propagatedBuildInputs = with self; [
31114
-
six Theano pyyaml
31115
-
];
31116
-
31117
-
meta = {
31118
-
description = "Deep Learning library for Theano and TensorFlow";
31119
-
homepage = "https://keras.io";
31120
-
license = licenses.mit;
31121
-
maintainers = with maintainers; [ NikolaMandic ];
31122
-
};
31123
-
};
31124
31125
Lasagne = buildPythonPackage rec {
31126
name = "Lasagne-${version}";
···
31100
};
31101
};
31102
31103
+
Keras = callPackage ../development/python-modules/keras { };
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
31104
31105
Lasagne = buildPythonPackage rec {
31106
name = "Lasagne-${version}";