nixpkgs/pkgs/development/libraries/sregex/default.nix

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

24 lines
613 B
Nix
Raw Normal View History

2023-06-28 08:29:58 +00:00
{ 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;
2023-07-03 07:42:29 +00:00
maintainers = with maintainers; [];
2023-06-28 08:29:58 +00:00
platforms = platforms.all;
};
}