nixpkgs/pkgs/development/python-modules/tflearn/default.nix
Ihar Hrachyshka 567e8dfd8e
treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

38 lines
644 B
Nix

{
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 = {
description = "Deep learning library featuring a higher-level API for TensorFlow";
homepage = "https://github.com/tflearn/tflearn";
license = lib.licenses.mit;
};
}