Packaging for Purdue PROS' pros-cli python command-line application for nix
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-11 22:22:28 -06:00
.vscode init 2025-01-19 14:51:48 -07:00
packages Update pros-cli 2026-08-11 22:22:28 -06:00
.editorconfig Update pros-cli 2026-08-11 22:22:28 -06:00
.gitignore init 2025-01-19 14:51:48 -07:00
flake.lock Update pros-cli 2026-08-11 22:22:28 -06:00
flake.nix Update pros-cli 2026-08-11 22:22:28 -06:00
README.md Add vexcom 2025-02-22 07:50:33 -07:00
result Update pros-cli 2026-08-11 22:22:28 -06:00

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
    };
}