2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv
|
2019-03-30 16:40:45 +00:00
|
|
|
, fetchFromGitHub
|
2020-04-03 18:22:19 +01:00
|
|
|
, meson
|
|
|
|
, ninja
|
2021-01-19 06:50:56 +00:00
|
|
|
, pkg-config
|
2019-03-30 16:40:45 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
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
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2019-03-30 16:40:45 +00:00
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-03-30 16:40:45 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|