rio: 0.0.36 -> 0.0.37
[NixPkgs.git] / pkgs / tools / networking / asleap / default.nix
blob64494ede9c59337b35b4a406545ddb5d4e4d85e0
1 {lib, stdenv, fetchFromGitHub, openssl, libpcap, libxcrypt}:
3 stdenv.mkDerivation rec {
4   pname = "asleap";
5   version = "unstable-2021-06-20";
7   src = fetchFromGitHub {
8     owner = "zackw";
9     repo = pname;
10     rev = "eb3bd42098cba42b65f499c9d8c73d890861b94f";
11     sha256 = "sha256-S6jS0cg9tHSfmP6VHyISkXJxczhPx3HDdxT46c+YmE8=";
12   };
14   buildInputs = [ openssl libpcap libxcrypt ];
16   installPhase = ''
17     install -Dm755 asleap $out/bin/asleap
18     install -Dm755 genkeys $out/bin/genkeys
19   '';
21   meta = with lib; {
22     homepage = "https://github.com/zackw/asleap";
23     description = "Recovers weak LEAP and PPTP passwords";
24     license = licenses.gpl2Only;
25     maintainers = with maintainers; [ pyrox0 ];
26   };