summary refs log tree commit diff
path: root/pkgs/tools/security
diff options
context:
space:
mode:
authorRobert Schütz <rschuetz17@gmail.com>2018-02-10 02:07:31 +0100
committerJörg Thalheim <Mic92@users.noreply.github.com>2018-02-10 01:07:31 +0000
commiteaf55b1946b964dad073381e9e6ec00c27d03f3d (patch)
tree3187b52300ff8258083f71814836bb6e1e34765c /pkgs/tools/security
parent2bffc88a51d23f7051557e3ab92c3de1de175c0e (diff)
downloadnixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.tar
nixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.tar.gz
nixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.tar.bz2
nixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.tar.lz
nixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.tar.xz
nixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.tar.zst
nixlib-eaf55b1946b964dad073381e9e6ec00c27d03f3d.zip
eschalot: init at 2018-01-19 (#34773)
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 ];
+  };
+}