nixpkgs/pkgs/applications/search/grepcidr/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
597 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2018-04-20 13:40:28 +00:00
stdenv.mkDerivation rec {
pname = "grepcidr";
2018-04-20 13:40:28 +00:00
version = "2.0";
src = fetchurl {
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 lib; {
2018-04-20 13:40:28 +00:00
description = "Filter IPv4 and IPv6 addresses matching CIDR patterns";
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 ];
2024-02-11 02:19:15 +00:00
mainProgram = "grepcidr";
2018-04-20 13:40:28 +00:00
};
}