Skip to content

Commit

Permalink
Merge pull request #2 from kylesferrazza/fix-ipscan
Browse files Browse the repository at this point in the history
Fix ipscan
  • Loading branch information
ryantm authored Mar 18, 2020
2 parents 50d26d1 + e191332 commit 057ab80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/tools/security/ipscan/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ stdenv.mkDerivation rec {
version = "3.7.0";

src = fetchurl {
url = "https://github.com/angryip/ipscan/releases/download/${version}/ipscan_${version}_amd64.deb";
sha256 = "1g7nh0zl56m9042xqpzim7iydlgiqjw131203f37l4bg0w65mw2q";
url = "https://github.com/angryip/ipscan/releases/download/${version}/ipscan_${version}_all.deb";
sha256 = "1dbralnbi5q5v6a5nbs64ihvs20fkm3cddsbakck5fbqdm5by7k7";
};

sourceRoot = ".";
Expand All @@ -16,7 +16,7 @@ stdenv.mkDerivation rec {

installPhase = ''
mkdir -p $out/share
cp usr/lib/ipscan/ipscan-linux64-${version}.jar $out/share/${pname}-${version}.jar
cp usr/lib/ipscan/ipscan-any-${version}.jar $out/share/${pname}-${version}.jar
makeWrapper ${jre}/bin/java $out/bin/ipscan \
--prefix LD_LIBRARY_PATH : "$out/lib/:${stdenv.lib.makeLibraryPath [ swt xorg.libXtst ]}" \
Expand Down

0 comments on commit 057ab80

Please sign in to comment.