about summary refs log blame commit diff
path: root/third_party/josh/default.nix
blob: 2b6cff582c907ef14c03544908dc7ee31b0c99be (plain) (tree)
1
2
3
4
5
6
7
8
9



                                 
                              

                      

                                                                    















                                          
# https://github.com/esrlabs/josh
{ depot, pkgs, ... }:

let
  src = pkgs.fetchFromGitHub {
    owner = "esrlabs";
    repo = "josh";
    rev = "c56b1b81b66a43c67f94530bcb4979c1a9307c97";
    sha256 = "0vahfiv7min1carlhzljn4f4xv9v9fxxq5y8qwwldg7agxck3x6m";
  };
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"
  ];
}