1
Fork 0
solar-conflux/python/denoising/flake.nix
Matei Adriel 4fb27b6826
python(denoising): Image denoising
Signed-off-by: prescientmoon <git@moonythm.dev>
2023-03-29 22:12:50 +02:00

24 lines
583 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-22.11";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem
(system:
let
pkgs = nixpkgs.legacyPackages.${system};
pyDeps = p: with p; [ numpy scipy matplotlib pillow ];
in
rec {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
(python3.withPackages pyDeps)
jupyter
pandoc
];
};
});
}