lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

sniproxy: switch to pcre2

The original PCRE is end-of-life. See #356387.

+11 -2
+11 -2
pkgs/by-name/sn/sniproxy/package.nix
··· 2 2 lib, 3 3 stdenv, 4 4 fetchFromGitHub, 5 + fetchurl, 5 6 autoreconfHook, 6 7 gettext, 7 8 libev, 8 - pcre, 9 + pcre2, 9 10 pkg-config, 10 11 udns, 11 12 }: ··· 23 24 24 25 patches = [ 25 26 ./gettext-0.25.patch 27 + (fetchurl { 28 + name = "compat-pcre2.patch"; 29 + # Using Arch Linux patch because the following upstream patches do not apply cleanly: 30 + # https://github.com/dlundquist/sniproxy/commit/62e621f050f79eb78598b1296a089ef88a19ea91 31 + # https://github.com/dlundquist/sniproxy/commit/7fdd86c054a21f7ac62343010de20f28645b14d2 32 + url = "https://gitlab.archlinux.org/archlinux/packaging/packages/sniproxy/-/raw/3272f9f0d406c51122f90708bfcc7b4ba0eb38c9/sniproxy-0.6.1-pcre2.patch?inline=false"; 33 + hash = "sha256-v6qdBAWXit0Zg43OsgzCTb4cSPm7gsEXVd7W8LvBgMk="; 34 + }) 26 35 ]; 27 36 28 37 nativeBuildInputs = [ ··· 32 41 buildInputs = [ 33 42 gettext 34 43 libev 35 - pcre 44 + pcre2 36 45 udns 37 46 ]; 38 47