analistica/shell.nix

21 lines
305 B
Nix
Raw Normal View History

2020-03-06 02:24:32 +01:00
with import <nixpkgs> { };
stdenv.mkDerivation {
name = "analistica";
2020-03-06 02:24:32 +01:00
GMP_PATH = "${gmp}/lib";
buildInputs = with pkgs; [
# C dependencies
gsl gmp pkgconfig
# Python
(python3.withPackages (p: [ p.numpy p.matplotlib ]))
# misc
gdb fish
];
2020-03-06 02:24:32 +01:00
shellHook = "exec fish";
}