Merge pull request #272835 from r-ryantm/auto-update/subnetcalc

subnetcalc: 2.4.22 -> 2.4.23

authored by Pol Dellaiera and committed by GitHub 663f20da 73a4603d

+22 -13
+22 -13
pkgs/tools/networking/subnetcalc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, ninja }: 2 3 - stdenv.mkDerivation rec { 4 pname = "subnetcalc"; 5 - version = "2.4.22"; 6 7 src = fetchFromGitHub { 8 owner = "dreibh"; 9 - repo = pname; 10 - rev = "${pname}-${version}"; 11 - sha256 = "sha256-5sDEMS4RgHdGQZAT2MVF/Ls0KXwdKzX+05uQpHhCZn8="; 12 }; 13 14 - nativeBuildInputs = [ cmake ninja ]; 15 16 - meta = with lib; { 17 description = "SubNetCalc is an IPv4/IPv6 subnet address calculator"; 18 longDescription = '' 19 SubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or 20 IPv6 address and netmask or prefix length, it calculates network address, ··· 23 Furthermore, it prints useful information on specific address types (e.g. 24 type, scope, interface ID, etc.). 25 ''; 26 - homepage = "https://www.uni-due.de/~be0001/subnetcalc/"; 27 - license = licenses.gpl3Plus; 28 - maintainers = with maintainers; [ atila ]; 29 - platforms = platforms.unix; 30 }; 31 - }
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , ninja 6 + }: 7 8 + stdenv.mkDerivation (finalAttrs: { 9 pname = "subnetcalc"; 10 + version = "2.4.23"; 11 12 src = fetchFromGitHub { 13 owner = "dreibh"; 14 + repo = "subnetcalc"; 15 + rev = "subnetcalc-${finalAttrs.version}"; 16 + hash = "sha256-uX/roOWjeuuuEFpBbF+hEPDOo0RTR79WpyNvr9U7wR4="; 17 }; 18 19 + nativeBuildInputs = [ 20 + cmake 21 + ninja 22 + ]; 23 24 + meta = { 25 description = "SubNetCalc is an IPv4/IPv6 subnet address calculator"; 26 + homepage = "https://www.uni-due.de/~be0001/subnetcalc/"; 27 + license = lib.licenses.gpl3Plus; 28 longDescription = '' 29 SubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or 30 IPv6 address and netmask or prefix length, it calculates network address, ··· 33 Furthermore, it prints useful information on specific address types (e.g. 34 type, scope, interface ID, etc.). 35 ''; 36 + mainProgram = "subnetcalc"; 37 + maintainers = with lib.maintainers; [ atila ]; 38 + platforms = lib.platforms.unix; 39 }; 40 + })