1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
nixpkgs/pkgs/applications/search/grepcidr/default.nix
2018-04-20 15:40:28 +02:00

22 lines
565 B
Nix

{ 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 ];
};
}