2019-03-30 16:40:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkgconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-09-09 08:30:32 +00:00
|
|
|
version = "0.1.0";
|
2019-03-30 16:40:45 +00:00
|
|
|
pname = "libmicrodns";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "videolabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2019-09-09 08:30:32 +00:00
|
|
|
sha256 = "1pmf461zn35spbpbls1ih68ki7f8g8xjwhzr2csy63nnyq2k9jji";
|
2019-03-30 16:40:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Minimal mDNS resolver library, used by VLC";
|
|
|
|
homepage = https://github.com/videolabs/libmicrodns;
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.shazow ];
|
|
|
|
};
|
|
|
|
}
|