Merge pull request #208441 from r-ryantm/auto-update/ipscan

ipscan: 3.8.2 -> 3.9.0
This commit is contained in:
Fabian Affolter 2022-12-31 13:53:40 +01:00 committed by GitHub
commit 0368a92576
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,18 +1,28 @@
{ lib, stdenv, fetchurl, jdk, jre, swt, makeWrapper, xorg, dpkg }:
{ lib
, stdenv
, fetchurl
, jdk
, jre
, swt
, makeWrapper
, xorg
, dpkg
}:
stdenv.mkDerivation rec {
pname = "ipscan";
version = "3.8.2";
version = "3.9.0";
src = fetchurl {
url = "https://github.com/angryip/ipscan/releases/download/${version}/ipscan_${version}_all.deb";
sha256 = "sha256-064V1KnMXBnjgM6mBrwkezdl+Tko3Xri0D4fCk9iPbk=";
sha256 = "sha256-HpsEp5XSz118cbV2wT81hzQT4cgDEBnpUbpl45ZVvlg=";
};
sourceRoot = ".";
unpackCmd = "${dpkg}/bin/dpkg-deb -x $src .";
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jdk ];
installPhase = ''
@ -34,8 +44,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "Fast and friendly network scanner";
homepage = "https://angryip.org";
changelog = "https://github.com/angryip/ipscan/blob/${version}/CHANGELOG";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.gpl2;
license = licenses.gpl2Only;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ kylesferrazza ];
};