diff options
author | Anthony Roussel <anthony@roussel.dev> | 2023-01-06 04:24:12 +0100 |
---|---|---|
committer | Anthony Roussel <anthony@roussel.dev> | 2023-01-13 17:25:49 +0100 |
commit | d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414 (patch) | |
tree | 902f621b91f2057434bb0c10e669c0a91077a7c1 /pkgs/os-specific/linux/iputils/default.nix | |
parent | b7ceddd0a140bf805002067f118971918ac01e6b (diff) | |
download | nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.tar nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.tar.gz nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.tar.bz2 nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.tar.lz nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.tar.xz nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.tar.zst nixpkgs-d4c1e368e1ee945f75a2fb13e3166aa4d2f8c414.zip |
iputils: 20211215 -> 20221126
Diffstat (limited to 'pkgs/os-specific/linux/iputils/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/iputils/default.nix | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/pkgs/os-specific/linux/iputils/default.nix b/pkgs/os-specific/linux/iputils/default.nix index 0ca6d8aa187..80500ceedac 100644 --- a/pkgs/os-specific/linux/iputils/default.nix +++ b/pkgs/os-specific/linux/iputils/default.nix @@ -5,21 +5,15 @@ , apparmorRulesFromClosure }: -let - version = "20211215"; - sunAsIsLicense = { - fullName = "AS-IS, SUN MICROSYSTEMS license"; - url = "https://github.com/iputils/iputils/blob/s${version}/rdisc.c"; - }; -in stdenv.mkDerivation rec { +stdenv.mkDerivation rec { pname = "iputils"; - inherit version; + version = "20221126"; src = fetchFromGitHub { owner = pname; repo = pname; rev = version; - sha256 = "1vzdch1xi2x2j8mvnsr4wwwh7kdkgf926xafw5kkb74yy1wac5qv"; + hash = "sha256-XVoQhdjBmEK8TbCpaKLjebPw7ZT8iEvyLJDTCkzezeE="; }; outputs = ["out" "apparmor"]; @@ -29,7 +23,6 @@ in stdenv.mkDerivation rec { doCheck = false; mesonFlags = [ - "-DBUILD_RARPD=true" "-DNO_SETCAP_OR_SUID=true" "-Dsystemdunitdir=etc/systemd/system" "-DINSTALL_SYSTEMD_UNITS=true" @@ -68,20 +61,17 @@ in stdenv.mkDerivation rec { description = "A set of small useful utilities for Linux networking"; inherit (src.meta) homepage; changelog = "https://github.com/iputils/iputils/releases/tag/s${version}"; - license = with licenses; [ gpl2Plus bsd3 sunAsIsLicense ]; + license = with licenses; [ gpl2Plus bsd3 ]; platforms = platforms.linux; maintainers = with maintainers; [ primeos lheckemann ]; longDescription = '' A set of small useful utilities for Linux networking including: - arping - clockdiff - ninfod - ping - rarpd - rdisc - tracepath + - arping: send ARP REQUEST to a neighbour host + - clockdiff: measure clock difference between hosts + - ping: send ICMP ECHO_REQUEST to network hosts + - tracepath: traces path to a network host discovering MTU along this path ''; }; } |