pythonPackages.Lasagne: refactor move to python-modules
This commit is contained in:
parent
8e22218220
commit
b1dbddd584
31
pkgs/development/python-modules/lasagne/default.nix
Normal file
31
pkgs/development/python-modules/lasagne/default.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, numpy
|
||||
, Theano
|
||||
, isPy3k
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "Lasagne";
|
||||
version = "0.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0cqj86rdm6c7y5vq3i13qy76fg5xi3yjp4r0hpqy8hvynv54wqrw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy Theano ];
|
||||
|
||||
# there are no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Lightweight library to build and train neural networks in Theano";
|
||||
homepage = "https://github.com/Lasagne/Lasagne";
|
||||
maintainers = with maintainers; [ NikolaMandic ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
|
||||
}
|
@ -4557,31 +4557,7 @@ in {
|
||||
|
||||
keras-preprocessing = callPackage ../development/python-modules/keras-preprocessing { };
|
||||
|
||||
Lasagne = buildPythonPackage rec {
|
||||
name = "Lasagne-${version}";
|
||||
version = "0.1";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/l/lasagne/${name}.tar.gz";
|
||||
sha256 = "0cqj86rdm6c7y5vq3i13qy76fg5xi3yjp4r0hpqy8hvynv54wqrw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
numpy
|
||||
Theano
|
||||
];
|
||||
|
||||
# there are no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Lightweight library to build and train neural networks in Theano";
|
||||
homepage = "https://github.com/Lasagne/Lasagne";
|
||||
maintainers = with maintainers; [ NikolaMandic ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
};
|
||||
Lasagne = callPackage ../development/python-modules/lasagne { };
|
||||
|
||||
send2trash = callPackage ../development/python-modules/send2trash { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user