An open API service indexing awesome lists of open source software.

https://github.com/rdmolony/nix-pandera

A nix derivation for pandera - https://pypi.org/project/pandera/#files
https://github.com/rdmolony/nix-pandera

nix pandera python

Last synced: about 1 year ago
JSON representation

A nix derivation for pandera - https://pypi.org/project/pandera/#files

Awesome Lists containing this project

README

          

# `nix-pandera`

This repository defines a `Nix` definition for building the `Python` library `pandera`

---

## Install `nix`

Install `nix` ...

Via [DeterminateSystems/nix-installer](https://github.com/DeterminateSystems/nix-installer) ...

```sh
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | \
sh -s -- install
```

Or via [the official installer](https://nix.dev/install-nix.html) ...

```sh
curl -L https://nixos.org/nix/install | sh -s -- --daemon
```

> [!NOTE]
> [`DeterminateSystems/nix-installer` ships with a `nix-uninstall` command if you want to easily remove it](https://github.com/DeterminateSystems/nix-installer/blob/ef23eb4d30c279547bdbe3026a0acaaf8bc680dc/README.md#uninstalling)

---

## `Nix Flake`

Add ...

```nix
{
inputs = {
pandera = {
url = "github:rdmolony/pandera";
inputs.nixpkgs.follows = "nixpkgs";
};
};
}
```

... to your `flake.nix` to install this `nix` derivation in your project.

---

## Build Locally

Via `nix-build` ...

```sh
nix-build
```

Or via `nix repl` ...

```sh
nix repl ''
pandera = pkgs.python312Packages.callPackage ./pandera.nix { }
:b pandera
```