Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rupurt/odbc2parquet-nix
Nix flake for odbc2parquet
https://github.com/rupurt/odbc2parquet-nix
Last synced: 21 days ago
JSON representation
Nix flake for odbc2parquet
- Host: GitHub
- URL: https://github.com/rupurt/odbc2parquet-nix
- Owner: rupurt
- License: mit
- Created: 2023-06-06T04:10:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-17T17:36:31.000Z (over 1 year ago)
- Last Synced: 2024-10-10T14:39:26.091Z (about 1 month ago)
- Language: Nix
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# odbc2parquetnix
Nix [flake](https://nixos.wiki/wiki/Flakes) for [odbc2parquet](https://github.com/pacman82/odbc2parquet)
## Usage
This `odbc2parquet` `nix` flake assumes you have already [installed nix](https://determinate.systems/posts/determinate-nix-installer)
### Option 1. Use the `odbc2parquet` CLI within your own flake
```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.```sh
# run from devshell
nix develop -c $SHELL
odbc2parquet
``````sh
# run as application
nix run .#odbc2parquet
```### Option 2. Run the `odbc2parquet` CLI directly with `nix run`
```nix
nix run github:rupurt/odbc2parquetnix
```## Authors
- Alex Kwiatkowski - [email protected]
## License
`odbc2parquetnix` is released under the MIT license