summary refs log tree commit diff
path: root/pkgs/development/libraries/libr3/default.nix
blob: cf848d02a048b003c9821738de26e7064af23ca7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{ 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 ];

  buildInputs = [ check ];
  propagatedBuildInputs = [ pcre ];

  strictDeps = true;

  meta = {
    description = "A high-performance path dispatching library";
    homepage = https://github.com/c9s/r3;
    license = [ stdenv.lib.licenses.mit ];
  };

}