about summary refs log blame commit diff
path: root/third_party/josh/default.nix
blob: e82bf2df88da9eac1b0caa62012580b6afa60f7c (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 = "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"
  ];
}