depot/nix/pkgs/jj.nix

19 lines
385 B
Nix

{ pkgs, ... }:
let
rev = "v0.6.1";
src = (pkgs.fetchFromGitHub {
owner = "martinvonz";
repo = "jj";
inherit rev;
sha256 = "0npv36q0c637jq10pqn5bzkyjzxn2phzbv5zjjf4kqb2ivd4nc3a";
}) // {
shortRev = rev;
};
flake = (import "${src}/flake.nix").outputs {
self = src;
nixpkgs = pkgs;
};
fromFlake = (flake.overlay pkgs pkgs).jujutsu;
in
fromFlake