summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2018-02-11 02:10:02 +0200
committerTuomas Tynkkynen <tuomas@tuxera.com>2018-02-11 02:10:02 +0200
commit48f3036e87ca780dc84113b499293c40604be2f1 (patch)
tree045bac9ec0d165cf7ba055474028f102600c05fc /pkgs/tools/security
parent03a35ac9c06c48b15160cadecfb33deeaee984d0 (diff)
parent66491453c8be4f4872955cf0b58b4911913d0f67 (diff)
downloadnixlib-48f3036e87ca780dc84113b499293c40604be2f1.tar
nixlib-48f3036e87ca780dc84113b499293c40604be2f1.tar.gz
nixlib-48f3036e87ca780dc84113b499293c40604be2f1.tar.bz2
nixlib-48f3036e87ca780dc84113b499293c40604be2f1.tar.lz
nixlib-48f3036e87ca780dc84113b499293c40604be2f1.tar.xz
nixlib-48f3036e87ca780dc84113b499293c40604be2f1.tar.zst
nixlib-48f3036e87ca780dc84113b499293c40604be2f1.zip
Merge remote-tracking branch 'upstream/master' into staging
Diffstat (limited to 'pkgs/tools/security')
-rw-r--r--pkgs/tools/security/eschalot/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/security/eschalot/default.nix b/pkgs/tools/security/eschalot/default.nix
new file mode 100644
index 000000000000..d628a28023a4
--- /dev/null
+++ b/pkgs/tools/security/eschalot/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, openssl }:
+
+stdenv.mkDerivation rec {
+  pname = "eschalot";
+  version = "2018-01-19";
+  name = "${pname}-${version}";
+
+  src = fetchFromGitHub {
+    owner = "ReclaimYourPrivacy";
+    repo = pname;
+    rev = "56a967b62631cfd3c7ef68541263dbd54cbbc2c4";
+    sha256 = "1iw1jrydasm9dmgpcdimd8dy9n281ys9krvf3fd3dlymkgsj604d";
+  };
+
+  buildInputs = [ openssl ];
+
+  installPhase = ''
+    install -D -t $out/bin eschalot worgen
+  '';
+
+  meta = with stdenv.lib; {
+    description = "Tor hidden service name generator";
+    homepage = src.meta.homepage;
+    license = licenses.isc;
+    platforms = platforms.unix;
+    maintainers = with maintainers; [ dotlambda ];
+  };
+}