diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libr3')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libr3/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libr3/default.nix b/nixpkgs/pkgs/development/libraries/libr3/default.nix new file mode 100644 index 000000000000..34ac547f4920 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/libr3/default.nix @@ -0,0 +1,33 @@ +{ 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 = "A high-performance path dispatching library"; + homepage = "https://github.com/c9s/r3"; + license = [ lib.licenses.mit ]; + }; + +} |