tvl-depot/third_party/josh/default.nix
Vincent Ambo 47986fdc21 chore(3p/josh): Bump version to latest HEAD
This lets us drop the patch for pinning the git library, as this one
is now pinned to something upstream.

Change-Id: Ib8026f5f22e2e49371a2bad83aa726c2951570e4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3086
Tested-by: BuildkiteCI
Reviewed-by: eta <eta@theta.eu.org>
2021-05-04 15:47:08 +00:00

25 lines
490 B
Nix

# https://github.com/esrlabs/josh
{ depot, pkgs, ... }:
let
src = pkgs.fetchFromGitHub {
owner = "esrlabs";
repo = "josh";
rev = "92fd7fb193d0df25b106207675f233cfe1d26d0d";
sha256 = "0fzy9xbr0vnw239gl8famrqncn8pxlnwkfvy3gxl7c80d78yg9j7";
};
in depot.third_party.naersk.buildPackage {
inherit src;
buildInputs = with pkgs; [
libgit2
openssl
pkgconfig
];
cargoBuildOptions = x: x ++ [
"-p" "josh"
"-p" "josh-proxy"
"-p" "josh-ui"
];
}