3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/uriparser/default.nix

29 lines
906 B
Nix
Raw Normal View History

2015-07-18 12:17:46 +01:00
{ stdenv, fetchurl, cpptest, pkgconfig, doxygen, graphviz }:
stdenv.mkDerivation rec {
name = "uriparser-${version}";
2018-08-21 14:39:35 +01:00
version = "0.8.6";
2015-07-18 12:17:46 +01:00
2018-08-21 14:39:35 +01:00
# Release tarball differs from source tarball
2015-07-18 12:17:46 +01:00
src = fetchurl {
2018-08-21 14:39:35 +01:00
url = "https://github.com/uriparser/uriparser/releases/download/${name}/${name}.tar.bz2";
sha256 = "0m2a5bf5b00ybagxmsa8mdj9mhc62vcm0qimy1ivfza1fbjsf287";
2015-07-18 12:17:46 +01:00
};
2018-08-21 14:39:35 +01:00
nativeBuildInputs = [ pkgconfig cpptest doxygen graphviz ];
2018-08-21 14:39:35 +01:00
doCheck = true;
2015-07-18 12:17:46 +01:00
meta = with stdenv.lib; {
2018-08-21 14:39:35 +01:00
homepage = https://uriparser.github.io/;
2015-07-18 12:17:46 +01:00
description = "Strictly RFC 3986 compliant URI parsing library";
longDescription = ''
uriparser is a strictly RFC 3986 compliant URI parsing and handling library written in C.
API documentation is available on uriparser website.
'';
license = licenses.bsd3;
platforms = platforms.linux;
2015-07-18 12:17:46 +01:00
maintainers = with maintainers; [ bosu ];
};
}