2021-04-15 16:45:51 +02:00
|
|
|
# https://github.com/esrlabs/josh
|
|
|
|
{ depot, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
2021-05-02 16:37:23 +02:00
|
|
|
src = pkgs.fetchFromGitHub {
|
2021-04-15 16:45:51 +02:00
|
|
|
owner = "esrlabs";
|
|
|
|
repo = "josh";
|
2021-05-02 16:37:23 +02:00
|
|
|
rev = "92fd7fb193d0df25b106207675f233cfe1d26d0d";
|
|
|
|
sha256 = "0fzy9xbr0vnw239gl8famrqncn8pxlnwkfvy3gxl7c80d78yg9j7";
|
2021-04-15 16:45:51 +02:00
|
|
|
};
|
|
|
|
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"
|
|
|
|
];
|
|
|
|
}
|