aboutsummaryrefslogtreecommitdiffstats
path: root/video/shell.nix
blob: 9bd9680bbc61ba83e6c9a6f6a5f17a1b3a45012d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
with import <nixpkgs> {};
let
  manimpango = callPackage ./manimpango.nix {
    buildPythonPackage = pkgs.python3Packages.buildPythonPackage;
    fetchPypi = pkgs.python3Packages.fetchPypi;
  };

  mapbox-earcut = callPackage ./mapbox-earcut.nix {
    buildPythonPackage = pkgs.python3Packages.buildPythonPackage;
    fetchPypi = pkgs.python3Packages.fetchPypi;
  };

  manimgl = callPackage ./manimgl.nix {
    buildPythonApplication = pkgs.python3Packages.buildPythonApplication;
    buildPythonPackage = pkgs.python3Packages.buildPythonPackage;
    fetchPypi = pkgs.python3Packages.fetchPypi;
    pythonOlder = pkgs.python3Packages.pythonOlder;
    manimpango = manimpango;
    mapbox-earcut = mapbox-earcut;
  };

in mkShell {
  buildInputs = [ manimpango manimgl ];
  shellHook = ''
  manimgl qam.py
  '';
}