forked from mirrors/nixpkgs
grepcidr: init at 2.0 (#38685)
This commit is contained in:
parent
7c1b8ac85f
commit
2d44db519e
21
pkgs/applications/search/grepcidr/default.nix
Normal file
21
pkgs/applications/search/grepcidr/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "grepcidr-${version}";
|
||||
version = "2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.pc-tools.net/files/unix/${name}.tar.gz";
|
||||
sha256 = "1yzpa1nigmmp4hir6377hrkpp0z6jnxgccaw2jbqgydbglvnm231";
|
||||
};
|
||||
|
||||
installFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
meta = with stdenv.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 ];
|
||||
};
|
||||
}
|
|
@ -15692,6 +15692,8 @@ with pkgs;
|
|||
|
||||
grass = callPackage ../applications/gis/grass { };
|
||||
|
||||
grepcidr = callPackage ../applications/search/grepcidr { };
|
||||
|
||||
grepm = callPackage ../applications/search/grepm { };
|
||||
|
||||
grip = callPackage ../applications/misc/grip {
|
||||
|
|
Loading…
Reference in a new issue