2019-03-07 12:11:10 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pcre
|
|
|
|
, pkgconfig
|
|
|
|
, check
|
|
|
|
, autoreconfHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "r3";
|
|
|
|
version = "1.3.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c9s";
|
|
|
|
repo = "r3";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "09cixbms817p6nb77wz3rxp0znnac8ybycvsrrzgwlbfn58a3zwl";
|
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
|
2019-03-07 13:30:58 +01:00
|
|
|
buildInputs = [ check ];
|
|
|
|
propagatedBuildInputs = [ pcre ];
|
2019-03-07 12:11:10 +01:00
|
|
|
|
|
|
|
strictDeps = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A high-performance path dispatching library";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/c9s/r3";
|
2019-03-07 12:11:10 +01:00
|
|
|
license = [ stdenv.lib.licenses.mit ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|