2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-05-03 17:38:23 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
2020-04-24 23:36:52 +00:00
|
|
|
, pkgconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-05-03 17:38:23 +00:00
|
|
|
version = "0.1.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "libmicrodns";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "videolabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-05-03 17:38:23 +00:00
|
|
|
sha256 = "1yb0j0acidp494d28wqhzhrfski2qjb2a5mp5bq5qrpcg38zyz6i";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-05-03 17:38:23 +00:00
|
|
|
meson
|
|
|
|
ninja
|
2020-04-24 23:36:52 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|