forked from AllenDowney/ThinkBayes2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshell.nix
More file actions
32 lines (25 loc) · 631 Bytes
/
shell.nix
File metadata and controls
32 lines (25 loc) · 631 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ pkgs ? import <nixpkgs> {} }:
let
empiricalDist = pkgs.python36Packages.buildPythonPackage rec {
pname = "empiricaldist";
version = "0.3.9";
src = pkgs.python36Packages.fetchPypi {
inherit pname version;
sha256 = "8b3a09afa0a20788050bad6c78dc4198e23d1a6970b5576d11be240fdbdf9d80";
};
propagatedBuildInputs = with pkgs.python36Packages; [
jupyter
matplotlib
notebook
numpy
pandas
];
doCheck = false;
};
customPython = pkgs.python36.buildEnv.override {
extraLibs = [ empiricalDist ];
};
in
pkgs.mkShell {
buildInputs = [ empiricalDist ];
}