2018-04-20 13:40:28 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "grepcidr";
|
2018-04-20 13:40:28 +00:00
|
|
|
version = "2.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "http://www.pc-tools.net/files/unix/${pname}-${version}.tar.gz";
|
2018-04-20 13:40:28 +00:00
|
|
|
sha256 = "1yzpa1nigmmp4hir6377hrkpp0z6jnxgccaw2jbqgydbglvnm231";
|
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "PREFIX=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Filter IPv4 and IPv6 addresses matching CIDR patterns";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.pc-tools.net/unix/grepcidr/";
|
2018-04-20 13:40:28 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = [ maintainers.fadenb ];
|
|
|
|
};
|
|
|
|
}
|