3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/security/eschalot/default.nix

28 lines
658 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, openssl }:
2018-02-10 01:07:31 +00:00
stdenv.mkDerivation rec {
pname = "eschalot";
2021-01-23 16:08:05 +00:00
version = "1.2.0.20191006";
2018-02-10 01:07:31 +00:00
src = fetchFromGitHub {
owner = "ReclaimYourPrivacy";
repo = pname;
2021-01-23 16:08:05 +00:00
rev = "a45bad5b9a3e4939340ddd8a751ceffa3c0db76a";
sha256 = "1wbi0azc2b57nmmx6c1wmvng70d9ph1s83yhnl5lxaaqaj85h22g";
2018-02-10 01:07:31 +00:00
};
buildInputs = [ openssl ];
installPhase = ''
install -D -t $out/bin eschalot worgen
'';
meta = with lib; {
2018-02-10 01:07:31 +00:00
description = "Tor hidden service name generator";
homepage = src.meta.homepage;
license = licenses.isc;
platforms = platforms.unix;
maintainers = with maintainers; [ dotlambda ];
};
}