mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
Merge pull request #272835 from r-ryantm/auto-update/subnetcalc
subnetcalc: 2.4.22 -> 2.4.23
This commit is contained in:
commit
663f20da6e
@ -1,20 +1,30 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, ninja }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, ninja
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "subnetcalc";
|
||||
version = "2.4.22";
|
||||
version = "2.4.23";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dreibh";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "sha256-5sDEMS4RgHdGQZAT2MVF/Ls0KXwdKzX+05uQpHhCZn8=";
|
||||
repo = "subnetcalc";
|
||||
rev = "subnetcalc-${finalAttrs.version}";
|
||||
hash = "sha256-uX/roOWjeuuuEFpBbF+hEPDOo0RTR79WpyNvr9U7wR4=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ninja ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
ninja
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
description = "SubNetCalc is an IPv4/IPv6 subnet address calculator";
|
||||
homepage = "https://www.uni-due.de/~be0001/subnetcalc/";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
longDescription = ''
|
||||
SubNetCalc is an IPv4/IPv6 subnet address calculator. For given IPv4 or
|
||||
IPv6 address and netmask or prefix length, it calculates network address,
|
||||
@ -23,9 +33,8 @@ stdenv.mkDerivation rec {
|
||||
Furthermore, it prints useful information on specific address types (e.g.
|
||||
type, scope, interface ID, etc.).
|
||||
'';
|
||||
homepage = "https://www.uni-due.de/~be0001/subnetcalc/";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ atila ];
|
||||
platforms = platforms.unix;
|
||||
mainProgram = "subnetcalc";
|
||||
maintainers = with lib.maintainers; [ atila ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user