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

24 lines
673 B
Nix
Raw Normal View History

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