2019-03-30 16:40:45 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
2020-04-03 18:22:19 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2019-03-30 16:40:45 +00:00
|
|
|
, pkgconfig
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-04-03 18:22:19 +01:00
|
|
|
version = "0.1.2";
|
2019-03-30 16:40:45 +00:00
|
|
|
pname = "libmicrodns";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "videolabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-04-03 18:22:19 +01:00
|
|
|
sha256 = "1yb0j0acidp494d28wqhzhrfski2qjb2a5mp5bq5qrpcg38zyz6i";
|
2019-03-30 16:40:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-04-03 18:22:19 +01:00
|
|
|
meson
|
|
|
|
ninja
|
2019-03-30 16:40:45 +00:00
|
|
|
pkgconfig
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Minimal mDNS resolver library, used by VLC";
|
2020-04-03 18:22:19 +01:00
|
|
|
homepage = "https://github.com/videolabs/libmicrodns";
|
2019-03-30 16:40:45 +00:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.shazow ];
|
|
|
|
};
|
|
|
|
}
|