9 stdenv.mkDerivation rec {
11 version = "1.0.0-unstable-2024-02-29";
13 src = fetchFromGitHub {
16 rev = "2498fa4df1b4eff0df1f75b5f393e620bafd6997";
17 hash = "sha256-MMPLp/3GNal0AKkUgd850JrVjRO5rPHvbnOl1uogPCQ=";
18 fetchSubmodules = true;
28 # The "linuxinstall" target won't work for us:
29 # it tries to setcap and copy to a FHS directory
31 mkdir -p $out/{bin,share/man/man1}
32 cp cnping $out/bin/cnping
33 cp cnping.1 $out/share/man/man1/cnping.1
37 description = "Minimal Graphical IPV4 Ping Tool";
38 homepage = "https://github.com/cntools/cnping";
39 license = with licenses; [
42 ]; # dual licensed, MIT-x11 & BSD-3-Clause
44 platforms = platforms.linux;
45 mainProgram = "cnping";