nixpkgs/pkgs/tools/networking/ipcalc/default.nix

39 lines
629 B
Nix
Raw Normal View History

2021-08-30 11:30:09 +02:00
{ lib
, stdenv
, fetchFromGitLab
, glib
, meson
, ninja
, libmaxminddb
, pkg-config
, ronn
}:
2015-02-05 16:46:50 +01:00
stdenv.mkDerivation rec {
pname = "ipcalc";
2021-08-30 11:30:09 +02:00
version = "1.0.1";
src = fetchFromGitLab {
owner = "ipcalc";
repo = "ipcalc";
rev = version;
sha256 = "0qg516jv94dlk0qj0bj5y1dd0i31ziqcjd6m00w8xp5wl97bj2ji";
2015-02-05 16:46:50 +01:00
};
2021-08-30 11:30:09 +02:00
nativeBuildInputs = [
glib
meson
ninja
pkg-config
libmaxminddb
ronn
];
meta = with lib; {
2015-02-05 16:46:50 +01:00
description = "Simple IP network calculator";
2021-08-30 11:30:09 +02:00
homepage = "https://gitlab.com/ipcalc/ipcalc";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ ];
2015-02-05 16:46:50 +01:00
};
}