2016-11-02 10:42:01 +00:00
|
|
|
{stdenv, fetchurl, fetchpatch}:
|
2010-02-09 09:09:25 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "tre-0.8.0";
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://laurikari.net/tre/${name}.tar.gz";
|
2010-02-09 09:09:25 +00:00
|
|
|
sha256 = "1pd7qsa7vc3ybdc6h2gr4pm9inypjysf92kab945gg4qa6jp11my";
|
|
|
|
};
|
|
|
|
|
2016-11-02 10:42:01 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://sources.debian.net/data/main/t/tre/0.8.0-6/debian/patches/03-cve-2016-8859";
|
2016-11-02 10:42:01 +00:00
|
|
|
sha256 = "0navhizym6qxd4gngrsslbij8x9r3s67p1jzzhvsnq6ky49j7w3p";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2016-08-02 17:06:29 +01:00
|
|
|
meta = {
|
2019-11-17 08:43:55 +00:00
|
|
|
description = "Lightweight and robust POSIX compliant regexp matching library";
|
|
|
|
homepage = "https://laurikari.net/tre/";
|
2016-08-02 17:06:29 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2018-08-04 15:30:03 +01:00
|
|
|
license = stdenv.lib.licenses.bsd2;
|
2016-08-02 17:06:29 +01:00
|
|
|
};
|
2010-02-09 09:09:25 +00:00
|
|
|
}
|