Merge pull request #130045 from bobvanderlinden/init-userhosts
userhosts: init at 1.0.0
This commit is contained in:
commit
578dd8d634
2 changed files with 25 additions and 0 deletions
23
pkgs/tools/networking/userhosts/default.nix
Normal file
23
pkgs/tools/networking/userhosts/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -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 { }
|
||||
|
|
Loading…
Reference in a new issue