summaryrefslogtreecommitdiffstats
path: root/pkgs/rust/tincr
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/rust/tincr')
-rw-r--r--pkgs/rust/tincr/default.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/rust/tincr/default.nix b/pkgs/rust/tincr/default.nix
new file mode 100644
index 00000000..5de7d392
--- /dev/null
+++ b/pkgs/rust/tincr/default.nix
@@ -0,0 +1,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;
+ };
+}