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