Skip to content

hypervideo/jcode-nix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jcode-nix

Nix flake packaging for jcode, built from the upstream Rust source release tag.

Usage

Run directly:

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

Use the overlay from another flake:

{
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    flake-utils.url = "github:numtide/flake-utils";
    jcode-nix.url = "github:hypervideo/jcode-nix";
  };

  outputs =
    {
      self,
      nixpkgs,
      flake-utils,
      jcode-nix,
    }:
    flake-utils.lib.eachDefaultSystem (
      system:
      let
        pkgs = import nixpkgs {
          inherit system;
          overlays = [ jcode-nix.overlays.default ];
        };
      in
      {
        devShells.default = pkgs.mkShell {
          packages = [ pkgs.jcode ];
        };
      }
    );
}

Updating

The updater tracks the latest GitHub release, refreshes the source hash and Cargo vendor hash, and preserves release build metadata:

nix shell nixpkgs#curl nixpkgs#jq nixpkgs#git -c bash scripts/update-jcode.sh

About

nix wrapper for https://github.com/1jehuang/jcode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors