Merge pull request #130045 from bobvanderlinden/init-userhosts

userhosts: init at 1.0.0
This commit is contained in:
Sandro 2021-07-20 13:56:50 +02:00 committed by GitHub
commit 578dd8d634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -21951,6 +21951,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 { }