userhosts: init at 1.0.0

This commit is contained in:
Bob van der Linden 2021-07-12 22:29:41 +02:00
parent 900115a4f7
commit 263f2f666a
No known key found for this signature in database
GPG key ID: EEBE8E3EC4A31364
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{lib, stdenv, fetchFromGitHub, pkg-config, ncurses, libnl }:
stdenv.mkDerivation rec {
pname = "userhosts";
version = "1.0.0";
src = fetchFromGitHub {
owner = "figiel";
repo = "hosts";
rev = "v${version}";
hash = "sha256-9uF0fYl4Zz/Ia2UKx7CBi8ZU8jfWoBfy2QSgTSwXo5A";
};
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "A libc wrapper providing per-user hosts file";
homepage = "https://github.com/figiel/hosts";
maintainers = [ maintainers.bobvanderlinden ];
license = licenses.cc0;
platforms = platforms.linux;
};
}

View file

@ -21292,6 +21292,8 @@ in
usbutils = callPackage ../os-specific/linux/usbutils { };
userhosts = callPackage ../tools/networking/userhosts { };
usermount = callPackage ../os-specific/linux/usermount { };
util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { }