From af4e848d22fde8fda629d44563f35d226f704901 Mon Sep 17 00:00:00 2001 From: dish Date: Mon, 24 Nov 2025 18:23:18 -0500 Subject: [PATCH] asleap: 0-unstable-2021-06-20 -> 0-unstable-2020-11-28, update source Looks like a version regression but the commit doesn't exist anymore. Also update the source since now this is a fork that's equal with the upstream, so switch to upstream repo instead. --- pkgs/by-name/as/asleap/package.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/as/asleap/package.nix b/pkgs/by-name/as/asleap/package.nix index 8c6697c33435..605d1dc0ee4f 100644 --- a/pkgs/by-name/as/asleap/package.nix +++ b/pkgs/by-name/as/asleap/package.nix @@ -5,17 +5,18 @@ openssl, libpcap, libxcrypt, + nix-update-script, }: stdenv.mkDerivation { pname = "asleap"; - version = "0-unstable-2021-06-20"; + version = "0-unstable-2020-11-28"; src = fetchFromGitHub { - owner = "zackw"; + owner = "joswr1ght"; repo = "asleap"; - rev = "eb3bd42098cba42b65f499c9d8c73d890861b94f"; - hash = "sha256-S6jS0cg9tHSfmP6VHyISkXJxczhPx3HDdxT46c+YmE8="; + rev = "254acabba34cb44608c9d2dcf7a147553d3d5ba3"; + hash = "sha256-MQjPup3EX7DCXY/zyroTj/+U2GIq12+VQQJD0gru7C8="; }; buildInputs = [ @@ -33,11 +34,14 @@ stdenv.mkDerivation { runHook postInstall ''; + passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; + meta = { homepage = "https://github.com/zackw/asleap"; description = "Recovers weak LEAP and PPTP passwords"; license = lib.licenses.gpl2Only; maintainers = with lib.maintainers; [ pyrox0 ]; + mainProgram = "asleap"; platforms = lib.platforms.linux; }; }