diff options
author | Nick Cao <nickcao@nichi.co> | 2023-10-02 09:30:04 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 09:30:04 -0400 |
commit | 4f555b0eff747275472520568a6d5471e1212cea (patch) | |
tree | 2ed648dfec725a10950e5088f0ed725392dd82bb /pkgs | |
parent | 59463904e016c826ce8a9c24134373309ac7c449 (diff) | |
parent | 0f8f06733af064f766c7f3f0fe171774ab79fb11 (diff) |
Merge pull request #258408 from SuperSandro2000/nss-mdns
nss-mdns: fix version number format, general cleanup
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/networking/nss-mdns/default.nix | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/pkgs/tools/networking/nss-mdns/default.nix b/pkgs/tools/networking/nss-mdns/default.nix index 9c1bb43a67327..f0c47fe945e19 100644 --- a/pkgs/tools/networking/nss-mdns/default.nix +++ b/pkgs/tools/networking/nss-mdns/default.nix @@ -2,27 +2,27 @@ stdenv.mkDerivation rec { pname = "nss-mdns"; - version = "v0.15.1"; + version = "0.15.1"; src = fetchFromGitHub { owner = "lathiat"; - repo = pname; - rev = version; + repo = "nss-mdns"; + rev = "v${version}"; hash = "sha256-iRaf9/gu9VkGi1VbGpxvC5q+0M8ivezCz/oAKEg5V1M="; }; nativeBuildInputs = [ autoreconfHook pkg-config ]; + # Note: Although `nss-mdns' works by talking to `avahi-daemon', it # doesn't depend on the Avahi libraries. Instead, it contains # hand-written D-Bus code to talk to the Avahi daemon. - configureFlags = - [ # Try to use the Avahi daemon before resolving on our own. - "--enable-avahi" - - # Connect to the daemon at `/var/run/avahi-daemon/socket'. - "--localstatedir=/var" - ]; + configureFlags = [ + # Try to use the Avahi daemon before resolving on our own. + "--enable-avahi" + # Connect to the daemon at `/var/run/avahi-daemon/socket'. + "--localstatedir=/var" + ]; meta = { description = "The mDNS Name Service Switch (NSS) plug-in"; @@ -33,13 +33,10 @@ stdenv.mkDerivation rec { resolution by common Unix/Linux programs in the ad-hoc mDNS domain `.local'. ''; - homepage = "http://0pointer.de/lennart/projects/nss-mdns/"; license = lib.licenses.lgpl2Plus; - # Supports both the GNU and FreeBSD NSS. platforms = lib.platforms.gnu ++ lib.platforms.linux ++ lib.platforms.freebsd; - maintainers = [ ]; }; } |