storj-uplink: 1.119.15 -> 1.120.4 (#375732)
[NixPkgs.git] / pkgs / by-name / li / libr3 / package.nix
blob046547fdd053b83ce7cbf985c13a9c75124ad30f
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   pcre,
6   pkg-config,
7   check,
8   autoreconfHook,
9 }:
11 stdenv.mkDerivation rec {
12   pname = "r3";
13   version = "1.3.4";
15   src = fetchFromGitHub {
16     owner = "c9s";
17     repo = "r3";
18     rev = version;
19     sha256 = "09cixbms817p6nb77wz3rxp0znnac8ybycvsrrzgwlbfn58a3zwl";
20   };
22   nativeBuildInputs = [
23     autoreconfHook
24     pkg-config
25   ];
27   buildInputs = [ check ];
28   propagatedBuildInputs = [ pcre ];
30   strictDeps = true;
32   meta = {
33     description = "High-performance path dispatching library";
34     homepage = "https://github.com/c9s/r3";
35     license = [ lib.licenses.mit ];
36   };