blob: 70786a2648cf7d3a4f166f9873f314eac9f0a9e5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# https://github.com/esrlabs/josh
{ depot, pkgs, ... }:
let
src = pkgs.fetchFromGitHub {
owner = "esrlabs";
repo = "josh";
rev = "effe6290559136faba5591a115e56c2b30210329";
hash = "sha256:0kam9rqjk96brvh15wj3h3vm2sqnr5pckz91az2ida5617d5gp9v";
};
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"
];
overrideMain = x: {
patches = [ ./0001-josh-proxy-Always-require-authentication-when-pushin.patch ];
};
}
|