30 lines
600 B
Nix
30 lines
600 B
Nix
{
|
|
description = "typst for a better world";
|
|
|
|
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; [
|
|
typst
|
|
typstyle
|
|
python313
|
|
python313Packages.sympy
|
|
python313Packages.matplotlib
|
|
python313Packages.numpy
|
|
];
|
|
shellHook = ''
|
|
echo welcome!
|
|
'';
|
|
};
|
|
};
|
|
}
|