summaryrefslogtreecommitdiffstats
path: root/pkgs/rust/tincr/default.nix
blob: 5de7d392f93f283375dc795c5de870c2632a0300 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ fetchFromGitHub }:

{
  name = "tincr";
  src = fetchFromGitHub {
    owner = "Mic92";
    repo = "tincr";
    rev = "457908ae775007e3f26fe5857a6ccab5eb4db2da";
    hash = "sha256-rT+hOB96Fp9ALxIbkfk7rWunAuULPda6aKr9+uGCafA=";
  };
  # Without tinc-ffi and fuzz, which are for tests.
  members = [ "tincd" "tinc-tools" ];
  # tinc-crypto asks for a vendored OpenSSL on Android only, but the plan
  # enables the feature everywhere.
  crateOverrides.openssl-sys = args: {
    features = builtins.filter (feature: feature != "vendored") args.features;
  };
}