39 lines
747 B
Nix
39 lines
747 B
Nix
{
|
|
description = "dependencies for parallel processing in c";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [
|
|
gcc
|
|
gnumake
|
|
imagemagick_light
|
|
typst
|
|
typstyle
|
|
zip
|
|
unzip
|
|
feh
|
|
# exercise 1: 1D wave equation plotting utils
|
|
gnuplot
|
|
ffmpeg
|
|
mpi
|
|
python3
|
|
pandoc
|
|
bc
|
|
];
|
|
shellHook = ''
|
|
echo welcome!
|
|
'';
|
|
};
|
|
};
|
|
}
|