Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rdmolony/nix-numpy-financial
A nix derivation for numpy-financial - https://pypi.org/project/numpy-financial/#files
https://github.com/rdmolony/nix-numpy-financial
nix numpy python
Last synced: 5 days ago
JSON representation
A nix derivation for numpy-financial - https://pypi.org/project/numpy-financial/#files
- Host: GitHub
- URL: https://github.com/rdmolony/nix-numpy-financial
- Owner: rdmolony
- Created: 2024-10-31T10:01:19.000Z (20 days ago)
- Default Branch: main
- Last Pushed: 2024-11-14T11:15:01.000Z (6 days ago)
- Last Synced: 2024-11-14T11:28:21.276Z (6 days ago)
- Topics: nix, numpy, python
- Language: Nix
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `nix-numpy-financial`
This repository defines a `Nix` definition for building the `Python` library `numpy-financial`
---
## 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 = {
numpy-financial = {
url = "github:rdmolony/numpy-financial";
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 ''
numpy-financial = pkgs.python312Packages.callPackage ./numpy-financial.nix { }
:b numpy-financial
```