c7cb07f092
GitOrigin-RevId: 1536926ef5621b09bba54035ae2bb6d806d72ac8
22 lines
597 B
Nix
22 lines
597 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "grepcidr";
|
|
version = "2.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.pc-tools.net/files/unix/${pname}-${version}.tar.gz";
|
|
sha256 = "1yzpa1nigmmp4hir6377hrkpp0z6jnxgccaw2jbqgydbglvnm231";
|
|
};
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Filter IPv4 and IPv6 addresses matching CIDR patterns";
|
|
homepage = "http://www.pc-tools.net/unix/grepcidr/";
|
|
license = licenses.gpl3;
|
|
platforms = platforms.unix;
|
|
maintainers = [ maintainers.fadenb ];
|
|
mainProgram = "grepcidr";
|
|
};
|
|
}
|