base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / as / asleap / package.nix
blobd488537665b6d62921738b318ed93245255a6933
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   openssl,
6   libpcap,
7   libxcrypt,
8 }:
10 stdenv.mkDerivation {
11   pname = "asleap";
12   version = "unstable-2021-06-20";
14   src = fetchFromGitHub {
15     owner = "zackw";
16     repo = "asleap";
17     rev = "eb3bd42098cba42b65f499c9d8c73d890861b94f";
18     sha256 = "sha256-S6jS0cg9tHSfmP6VHyISkXJxczhPx3HDdxT46c+YmE8=";
19   };
21   buildInputs = [
22     openssl
23     libpcap
24     libxcrypt
25   ];
27   installPhase = ''
28     runHook preInstall
30     install -Dm755 asleap $out/bin/asleap
31     install -Dm755 genkeys $out/bin/genkeys
33     runHook postInstall
34   '';
36   meta = {
37     homepage = "https://github.com/zackw/asleap";
38     description = "Recovers weak LEAP and PPTP passwords";
39     license = lib.licenses.gpl2Only;
40     maintainers = with lib.maintainers; [ pyrox0 ];
41     platforms = lib.platforms.linux;
42   };