bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
33 lines
603 B
Nix
33 lines
603 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
, pcre
|
|
, pkg-config
|
|
, check
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "r3";
|
|
version = "1.3.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "c9s";
|
|
repo = "r3";
|
|
rev = version;
|
|
sha256 = "09cixbms817p6nb77wz3rxp0znnac8ybycvsrrzgwlbfn58a3zwl";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
|
|
buildInputs = [ check ];
|
|
propagatedBuildInputs = [ pcre ];
|
|
|
|
strictDeps = true;
|
|
|
|
meta = {
|
|
description = "High-performance path dispatching library";
|
|
homepage = "https://github.com/c9s/r3";
|
|
license = [ lib.licenses.mit ];
|
|
};
|
|
|
|
}
|