Merge pull request #240100 from ee2500/sregex
This commit is contained in:
commit
16b76678e3
2 changed files with 25 additions and 0 deletions
23
pkgs/development/libraries/sregex/default.nix
Normal file
23
pkgs/development/libraries/sregex/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sregex";
|
||||
version = "0.0.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "openresty";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-HZ9O/3BQHHrTVLLlU0o1fLHxyRSesBhreT3IdGHnNsg=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "CC:=$(CC)" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/openresty/sregex";
|
||||
description = "A non-backtracking NFA/DFA-based Perl-compatible regex engine matching on large data streams";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ earthengine ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -24573,6 +24573,8 @@ with pkgs;
|
|||
|
||||
sqlite-jdbc = callPackage ../servers/sql/sqlite/jdbc { };
|
||||
|
||||
sregex = callPackage ../development/libraries/sregex { };
|
||||
|
||||
dqlite = callPackage ../development/libraries/dqlite { };
|
||||
|
||||
sqlcipher = callPackage ../development/libraries/sqlcipher { };
|
||||
|
|
Loading…
Reference in a new issue