Nix package definitions for acmcsuf's projects.
These can be used with nix [build|run|shell]
or with a nix flake.
You may need to enable nix command before doing this. See https://wiki.nixos.org/wiki/Nix_(command) for more info.
This command creates a temporary dev shell with the oss-stats
package.
nix shell github:acmcsufoss/nixpkgs#oss-stats
You may need to enable flakes before you can use them. See https://wiki.nixos.org/wiki/Flakes for more info.
This example flake creates a dev shell with the oss-stats
package for all
major Unix systems.
{
description = "A basic flake with a shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
acmcsufoss = {
url = "github:acmcsufoss/nixpkgs";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
nixpkgs,
flake-utils,
acmcsufoss,
...
}:
flake-utils.lib.eachDefaultSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.default = pkgs.mkShell {
packages = [
acmcsufoss.packages.${system}.oss-stats
];
};
}
);
}
Please submit an issue or contact the current maintainer (Josh Holman) if you run into any issues.