<commit_before>{ python ? "3.10" }:
let
  pkgs = import ./nix;

  devDeps = with pkgs; [
    # terminal markdown rendering
    glow
    # used in the justfile
    jq
    yj
    # linting
    commitlint
    lychee
    # packaging
    cachix
    niv
    poetry
  ];

  impalaUdfDeps = with pkgs; [
    clang_12
    cmake
    ninja
  ];
  backendTestDeps = [ pkgs.docker-compose_2 ];
  vizDeps = [ pkgs.graphviz-nox ];
  duckdbDeps = [ pkgs.duckdb ];
  mysqlDeps = [ pkgs.mariadb-client ];
  pysparkDeps = [ pkgs.openjdk11_headless ];

  postgresDeps = [ pkgs.postgresql ];  # postgres client dependencies
  geospatialDeps = with pkgs; [ gdal_2 proj ];
  sqliteDeps = [ pkgs.sqlite-interactive ];

  libraryDevDeps = impalaUdfDeps
    ++ backendTestDeps
    ++ vizDeps
    ++ pysparkDeps
    ++ geospatialDeps
    ++ postgresDeps<commit_msg>chore: remove cachix from dev env<commit_after>{ python ? "3.10" }:
let
  pkgs = import ./nix;

  devDeps = with pkgs; [
    # terminal markdown rendering
    glow
    # used in the justfile
    jq
    yj
    # linting
    commitlint
    lychee
    # packaging
    niv
    poetry
  ];

  impalaUdfDeps = with pkgs; [
    clang_12
    cmake
    ninja
  ];
  backendTestDeps = [ pkgs.docker-compose_2 ];
  vizDeps = [ pkgs.graphviz-nox ];
  duckdbDeps = [ pkgs.duckdb ];
  mysqlDeps = [ pkgs.mariadb-client ];
  pysparkDeps = [ pkgs.openjdk11_headless ];

  postgresDeps = [ pkgs.postgresql ];  # postgres client dependencies
  geospatialDeps = with pkgs; [ gdal_2 proj ];
  sqliteDeps = [ pkgs.sqlite-interactive ];

  libraryDevDeps = impalaUdfDeps
    ++ backendTestDeps
    ++ vizDeps
    ++ pysparkDeps
    ++ geospatialDeps
    ++ postgresDeps
{'fraction_non_alphanumeric': 0.10029673590504451, 'fraction_numerical': 0.010682492581602374, 'mean_word_length': 2.6258064516129034, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '553209', 'n_tokens_mistral': 701, 'n_tokens_neox': 656, 'n_words': 127}