Packaging for Purdue PROS' pros-cli python command-line application for nix
Find a file
2025-02-22 09:35:00 -07:00
.vscode init 2025-01-19 14:51:48 -07:00
packages Add vexcom 2025-02-22 07:50:33 -07:00
.gitignore init 2025-01-19 14:51:48 -07:00
flake.lock Update flake 2025-02-22 09:35:00 -07:00
flake.nix Add vexcom 2025-02-22 07:50:33 -07:00
README.md Add vexcom 2025-02-22 07:50:33 -07: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
    };
}