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";
|
2022-01-18 10:02:31 +01:00
|
|
|
rev = "69dc986e506ba5631c8bbf52835da076a18ec8dc";
|
|
|
|
hash = "sha256:0ybc6ivjkm7bchaszs9lhbl1gbjnyhwq7a3vw6jml3ama84l52lb";
|
2021-04-15 16:45:51 +02:00
|
|
|
};
|
2022-01-30 17:06:58 +01:00
|
|
|
in
|
|
|
|
depot.third_party.naersk.buildPackage {
|
2021-04-15 16:45:51 +02:00
|
|
|
inherit src;
|
|
|
|
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
libgit2
|
|
|
|
openssl
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
cargoBuildOptions = x: x ++ [
|
2022-01-30 17:06:58 +01:00
|
|
|
"-p"
|
|
|
|
"josh"
|
|
|
|
"-p"
|
|
|
|
"josh-proxy"
|
|
|
|
"-p"
|
|
|
|
"josh-ui"
|
2021-04-15 16:45:51 +02:00
|
|
|
];
|
|
|
|
}
|