Skip to content

hypervideo/skillshare-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skillshare-nix

Nix flake packaging for the skillshare CLI.

Usage

Run the packaged CLI directly:

nix run github:hypervideo/skillshare-nix -- --help

Use 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 ];
        };
      }
    );
}

Updating

Run:

scripts/update-skillshare.sh
nix build

The updater checks the latest upstream GitHub release and refreshes all packaged macOS and Linux archive hashes.

About

Nix package for the skillshare CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors