mirror of
https://codeberg.org/tyy/pros-nix.git
synced 2025-12-05 03:19:19 -07:00
Packaging for Purdue PROS' pros-cli python command-line application for nix
| .vscode | ||
| packages | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
Pros-nix
Packaging for Purdue PROS' pros-cli python command-line application for nix.
This builds pros-cli from PyPI's uploaded wheel, and pins roughly follows
upstream's requirements.txt file's version pinning by using old nixpkgs
versions. A few python dependencies were not in upstream nixpkgs, so those are
also packaged in this repository. In addition, the official vexcom binary is also packaged.
To use this, simply import this git repository as a flake, with something along the lines of the following:
{
# ...
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
pros-nix = {
url = "git+https://codeberg.org/tyy/pros-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
# ...
};
outputs = { nixpkgs, pros-nix, ... }: {
# Use pros-nix.packages.${system}.pros-cli anywhere in your outputs
};
}