File size: 530 Bytes
7d3293b
 
 
 
 
 
 
 
 
 
 
1fead68
 
 
 
 
22fe690
 
 
 
 
7d3293b
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  pkgs ? import (fetchTarball {
    url = "https://github.com/NixOS/nixpkgs/archive/5912c1772a44e31bf1c63c0390b90501e5026886.tar.gz";
    sha256 = "1kk6dr0d9hpc0pfsb24dpvn7cnvwnyc9fnj1pbkd55phyzfdsg9j";
  }) { }
}:

pkgs.mkShell {
  packages = [
    pkgs.git-lfs
    pkgs.git-xet
    (pkgs.writeShellScriptBin "duckdb" ''
      exec ${pkgs.duckdb}/bin/duckdb \
        -init "${./duckdb/init.sql}" \
        "$@"
    '')
    (pkgs.python313.withPackages (ps: [
      ps.duckdb
      ps.matplotlib
      ps.pandas
    ]))
  ];
}