Created
October 30, 2017 06:29
-
-
Save nkpart/aca2468ae8552c7f075cf04287d23b92 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ nixpkgs ? import <nixpkgs> {} | |
}: | |
let | |
inherit (nixpkgs) pkgs; | |
python = let | |
packageOverrides = self: super: { | |
# sklearn tests fail on darwin | |
scikitlearn = super.scikitlearn.overridePythonAttrs(old: rec { | |
doCheck = false; | |
}); | |
}; | |
in pkgs.python3.override {inherit packageOverrides;}; | |
pythonPackages = with python.pkgs; [ | |
tensorflow | |
matplotlib | |
python | |
scikitlearn | |
Keras | |
]; | |
in | |
pkgs.stdenv.mkDerivation { | |
name = "py-ml"; | |
buildInputs = pythonPackages; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment