aboutsummaryrefslogtreecommitdiffstats
path: root/video/shell.nix
blob: 4ee2e41418cf25b4d21e49c64673714a1399b476 (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 ./nix/manimpango.nix {
    buildPythonPackage = pkgs.python3Packages.buildPythonPackage;
    fetchPypi = pkgs.python3Packages.fetchPypi;
  };

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

  manimgl = callPackage ./nix/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
  # '';
}