Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, openssl }: 2 3stdenv.mkDerivation rec { 4 pname = "eschalot"; 5 version = "1.2.0.20191006"; 6 7 src = fetchFromGitHub { 8 owner = "ReclaimYourPrivacy"; 9 repo = pname; 10 rev = "a45bad5b9a3e4939340ddd8a751ceffa3c0db76a"; 11 sha256 = "1wbi0azc2b57nmmx6c1wmvng70d9ph1s83yhnl5lxaaqaj85h22g"; 12 }; 13 14 buildInputs = [ openssl ]; 15 16 installPhase = '' 17 install -D -t $out/bin eschalot worgen 18 ''; 19 20 meta = with lib; { 21 description = "Tor hidden service name generator"; 22 homepage = src.meta.homepage; 23 license = licenses.isc; 24 platforms = platforms.unix; 25 maintainers = with maintainers; [ dotlambda ]; 26 }; 27}