{
  description = "LaTeX paper build environment";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs";
  };

  outputs =
    { self, nixpkgs }:
    let
      system = "x86_64-linux";
      pkgs = import nixpkgs { inherit system; };
    in
    {
      devShells.${system}.default = pkgs.mkShell {
        name = "latex";
        buildInputs = with pkgs; [
          texliveFull
          octave
        ];
      };
    };
}
