Skip to content

rupurt/odbc2parquet-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odbc2parquetnix

Nix flake for odbc2parquet

Usage

This odbc2parquet nix flake assumes you have already installed nix

Option 1. Use the odbc2parquet CLI within your own flake

{
  inputs.nixpkgs.url = "github:nixos/nixpkgs";
  inputs.odbc2parquet.url = "github:rupurt/odbc2parquet";
  inputs.flake-utils.url = "github:numtide/flake-utils";

  outputs = {
    self,
    nixpkgs,
    flake-utils,
    odbc2parquet,
    ...
  }:
    flake-utils.lib.eachDefaultSystem (system:
      let
        pkgs = import nixpkgs {
          inherit system;
          overlays = [
            odbc2parquet.overlay
          ];
        };
      in rec
      {
        packages = {
          odbc2parquet = pkgs.odbc2parquet {};
        };

        devShells.default = pkgs.mkShell {
          packages = [
            packages.odbc2parquet
          ];
        };
      }
    );
}

The above config will add odbc2parquet to your dev shell and also allow you to execute it through the nix CLI utilities.

# run from devshell
nix develop -c $SHELL
odbc2parquet
# run as application
nix run .#odbc2parquet

Option 2. Run the odbc2parquet CLI directly with nix run

nix run github:rupurt/odbc2parquetnix

Authors

License

odbc2parquetnix is released under the MIT license

About

Nix flake for odbc2parquet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages