Merge pull request #147684 from fabaff/bump-enum4linux

enum4linux: 0.8.9 -> 0.9.1

authored by

Fabian Affolter and committed by
GitHub
1264b083 5b861824

+27 -9
+27 -9
pkgs/tools/security/enum4linux/default.nix
··· 1 - { lib, stdenv, fetchurl, makeWrapper, samba, perl, openldap }: 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , makeWrapper 5 + , samba 6 + , perl 7 + , openldap 8 + }: 2 9 3 10 stdenv.mkDerivation rec { 4 11 pname = "enum4linux"; 5 - version = "0.8.9"; 6 - src = fetchurl { 7 - url = "https://labs.portcullis.co.uk/download/enum4linux-${version}.tar.gz"; 8 - sha256 = "41334df0cb1ba82db9e3212981340372bb355a8160073331d2a1610908a62d85"; 12 + version = "0.9.1"; 13 + 14 + src = fetchFromGitHub { 15 + owner = "CiscoCXSecurity"; 16 + repo = pname; 17 + rev = "v${version}"; 18 + sha256 = "sha256-/R0P4Ft9Y0LZwKwhDGAe36UKviih6CNbJbj1lcNKEkM="; 9 19 }; 10 20 11 21 dontBuild = true; 12 - nativeBuildInputs = [ makeWrapper ]; 13 - buildInputs = [ samba perl openldap ]; 22 + 23 + nativeBuildInputs = [ 24 + makeWrapper 25 + ]; 26 + 27 + buildInputs = [ 28 + openldap 29 + perl 30 + samba 31 + ]; 14 32 15 33 installPhase = '' 16 34 mkdir -p $out/bin ··· 23 41 meta = with lib; { 24 42 description = "A tool for enumerating information from Windows and Samba systems"; 25 43 homepage = "https://labs.portcullis.co.uk/tools/enum4linux/"; 26 - license = licenses.gpl2; 44 + license = licenses.gpl2Plus; 45 + maintainers = with maintainers; [ fishi0x01 ]; 27 46 platforms = platforms.unix; 28 - maintainers = [ maintainers.fishi0x01 ]; 29 47 }; 30 48 } 31 49