mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
jnetmap: init at 0.5.4
This commit is contained in:
parent
e1d9854816
commit
651ee38dea
33
pkgs/applications/networking/jnetmap/default.nix
Normal file
33
pkgs/applications/networking/jnetmap/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jnetmap-${version}";
|
||||
version = "0.5.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}.jar";
|
||||
sha256 = "0nxsfa600jhazwbabxmr9j37mhwysp0fyrvczhv3f1smiy8rjanl";
|
||||
};
|
||||
|
||||
buildInputs = [ jre makeWrapper ];
|
||||
|
||||
unpackPhase = ":";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/bin"
|
||||
mkdir -p "$out/lib"
|
||||
|
||||
cp "${src}" "$out/lib/jnetmap.jar"
|
||||
makeWrapper "${jre}/bin/java" "$out/bin/jnetmap" \
|
||||
--add-flags "-jar \"$out/lib/jnetmap.jar\""
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Graphical network monitoring and documentation tool";
|
||||
homepage = "http://www.rakudave.ch/jnetmap/";
|
||||
license = licenses.gpl3Plus;
|
||||
# Upstream supports macOS and Windows too.
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
@ -16086,6 +16086,8 @@ in
|
||||
bitcoin-xt = altcoins.bitcoin-xt;
|
||||
cryptop = altcoins.cryptop;
|
||||
|
||||
jnetmap = callPackage ../applications/networking/jnetmap {};
|
||||
|
||||
libbitcoin = callPackage ../tools/misc/libbitcoin/libbitcoin.nix {
|
||||
secp256k1 = secp256k1.override { enableECDH = true; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user