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-09-05 05:58:32 +01:00
|
|
|
version = "0.2.0";
|
2019-03-30 16:40:45 +00:00
|
|
|
pname = "libmicrodns";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "videolabs";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2020-09-05 05:58:32 +01:00
|
|
|
sha256 = "05vgka45c1frnv4q7pbz0bggsn5xaykh4xpklh9yb6d6qj7dbx0b";
|
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;
|
2020-11-17 18:14:29 +00:00
|
|
|
platforms = platforms.unix;
|
2019-03-30 16:40:45 +00:00
|
|
|
maintainers = [ maintainers.shazow ];
|
|
|
|
};
|
|
|
|
}
|