Nix flake packaging for the skillshare CLI.
Run the packaged CLI directly:
nix run github:hypervideo/skillshare-nix -- --helpUse it in a development shell:
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
flake-utils.url = "github:numtide/flake-utils";
skillshare-nix.url = "github:hypervideo/skillshare-nix";
};
outputs =
{
self,
nixpkgs,
flake-utils,
skillshare-nix,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [ skillshare-nix.overlays.default ];
};
in
{
devShells.default = pkgs.mkShell {
packages = [ pkgs.skillshare ];
};
}
);
}Run:
scripts/update-skillshare.sh
nix buildThe updater checks the latest upstream GitHub release and refreshes all packaged macOS and Linux archive hashes.