2022-11-30 00:48:27 +00:00
|
|
|
{
|
|
|
|
inputs.nixpkgs.url = "nixpkgs/nixpkgs-unstable";
|
|
|
|
inputs.flake-utils.url = github:numtide/flake-utils;
|
|
|
|
|
|
|
|
outputs = { self, nixpkgs, flake-utils }:
|
|
|
|
with flake-utils.lib;
|
|
|
|
eachSystem allSystems (system:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
python-packages = pypkg: with pypkg; [
|
|
|
|
natsort
|
|
|
|
pandas
|
|
|
|
plotly
|
2022-12-26 09:29:23 +00:00
|
|
|
requests
|
2022-11-30 00:48:27 +00:00
|
|
|
scipy
|
|
|
|
];
|
|
|
|
python3 = pkgs.python3.withPackages python-packages;
|
|
|
|
in {
|
|
|
|
devShells.default = with pkgs; mkShell {
|
|
|
|
packages = [ python3 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|