mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 21:09:00 +02:00
sgrep: init at 1.94a
This commit is contained in:
parent
4e7b4a5332
commit
8d9ea37e80
31
pkgs/tools/text/sgrep/default.nix
Normal file
31
pkgs/tools/text/sgrep/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, fetchurl, lib, m4, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sgrep";
|
||||
version = "1.94a";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://www.cs.helsinki.fi/pub/Software/Local/Sgrep/sgrep-${version}.tar.gz";
|
||||
sha256 = "sha256-1bFkeOOrRHNeJCg9LYldLJyAE5yVIo3zvbKsRGOV+vk=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/sgrep \
|
||||
--prefix PATH : ${lib.makeBinPath [ m4 ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.cs.helsinki.fi/u/jjaakkol/sgrep.html";
|
||||
description = "A grep for structured text formats such as XML";
|
||||
longDescription = ''
|
||||
sgrep (structured grep) is a tool for searching and indexing text,
|
||||
SGML, XML and HTML files and filtering text streams using
|
||||
structural criteria.
|
||||
'';
|
||||
platforms = platforms.unix;
|
||||
license = licenses.gpl2Plus;
|
||||
maintainers = with maintainers; [ eigengrau ];
|
||||
};
|
||||
}
|
|
@ -1296,6 +1296,8 @@ with pkgs;
|
|||
|
||||
sdlookup = callPackage ../tools/security/sdlookup { };
|
||||
|
||||
sgrep = callPackage ../tools/text/sgrep { };
|
||||
|
||||
smbscan = callPackage ../tools/security/smbscan { };
|
||||
|
||||
spectre-cli = callPackage ../tools/security/spectre-cli { };
|
||||
|
|
Loading…
Reference in a new issue