medusa: unstable-2018-12-16 -> 2.3

Changelog: https://github.com/jmk-foofus/medusa/releases/tag/2.3
This commit is contained in:
Fabian Affolter 2025-03-07 21:20:28 +01:00
parent 3f7aa85c3e
commit e02b2d8c0c

View file

@ -2,34 +2,23 @@
lib, lib,
stdenv, stdenv,
fetchFromGitHub, fetchFromGitHub,
fetchpatch,
pkg-config,
freerdp, freerdp,
openssl,
libssh2, libssh2,
openssl,
pkg-config,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "medusa-unstable"; pname = "medusa";
version = "2018-12-16"; version = "2.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jmk-foofus"; owner = "jmk-foofus";
repo = "medusa"; repo = "medusa";
rev = "292193b3995444aede53ff873899640b08129fc7"; tag = version;
sha256 = "0njlz4fqa0165wdmd5y8lfnafayf3c4la0r8pf3hixkdwsss1509"; hash = "sha256-devirQMmS8mtxT5H5XafRRvCyfcvwoWxtTp0V1SJeSM=";
}; };
patches = [
# Pull upstream fix for -fno-common tollchains like gcc-10:
# https://github.com/jmk-foofus/medusa/pull/36
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/jmk-foofus/medusa/commit/a667656ad085b3eb95309932666c250d97a92767.patch";
sha256 = "01marqqhjd3qwar3ymp50y1h2im5ilgpaxk7wrc2kcxgmzvbdfxc";
})
];
outputs = [ outputs = [
"out" "out"
"man" "man"
@ -38,6 +27,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-module-ssh=yes" ]; configureFlags = [ "--enable-module-ssh=yes" ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ buildInputs = [
freerdp freerdp
openssl openssl
@ -45,10 +35,11 @@ stdenv.mkDerivation rec {
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/jmk-foofus/medusa";
description = "Speedy, parallel, and modular, login brute-forcer"; description = "Speedy, parallel, and modular, login brute-forcer";
mainProgram = "medusa"; homepage = "https://github.com/jmk-foofus/medusa";
changelog = "https://github.com/jmk-foofus/medusa/releases/tag/${src.tag}";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
maintainers = [ ]; maintainers = [ ];
mainProgram = "medusa";
}; };
} }