mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-14 17:04:42 +00:00
11255ef03c
Also updates my information and contact info. I no longer use The Hedgehog as my github username or online presence username, so this fixes that. It also matches my github username, so it should be easier for others to mention me if needed.
28 lines
716 B
Nix
28 lines
716 B
Nix
{lib, stdenv, fetchFromGitHub, openssl, libpcap, libxcrypt}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "asleap";
|
|
version = "unstable-2021-06-20";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "zackw";
|
|
repo = pname;
|
|
rev = "eb3bd42098cba42b65f499c9d8c73d890861b94f";
|
|
sha256 = "sha256-S6jS0cg9tHSfmP6VHyISkXJxczhPx3HDdxT46c+YmE8=";
|
|
};
|
|
|
|
buildInputs = [ openssl libpcap libxcrypt ];
|
|
|
|
installPhase = ''
|
|
install -Dm755 asleap $out/bin/asleap
|
|
install -Dm755 genkeys $out/bin/genkeys
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/zackw/asleap";
|
|
description = "Recovers weak LEAP and PPTP passwords";
|
|
license = licenses.gpl2Only;
|
|
maintainers = with maintainers; [ pyrox0 ];
|
|
};
|
|
}
|