Nix flake for odbc2parquet
This odbc2parquet
nix
flake assumes you have already installed nix
{
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
nix run github:rupurt/odbc2parquetnix
- Alex Kwiatkowski - alex+git@fremantle.io
odbc2parquetnix
is released under the MIT license