userhosts: init at 1.0.0

+25
+23
pkgs/tools/networking/userhosts/default.nix
··· 1 + {lib, stdenv, fetchFromGitHub, pkg-config, ncurses, libnl }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "userhosts"; 5 + version = "1.0.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "figiel"; 9 + repo = "hosts"; 10 + rev = "v${version}"; 11 + hash = "sha256-9uF0fYl4Zz/Ia2UKx7CBi8ZU8jfWoBfy2QSgTSwXo5A"; 12 + }; 13 + 14 + installFlags = [ "PREFIX=$(out)" ]; 15 + 16 + meta = with lib; { 17 + description = "A libc wrapper providing per-user hosts file"; 18 + homepage = "https://github.com/figiel/hosts"; 19 + maintainers = [ maintainers.bobvanderlinden ]; 20 + license = licenses.cc0; 21 + platforms = platforms.linux; 22 + }; 23 + }
+2
pkgs/top-level/all-packages.nix
··· 21292 21292 21293 21293 usbutils = callPackage ../os-specific/linux/usbutils { }; 21294 21294 21295 + userhosts = callPackage ../tools/networking/userhosts { }; 21296 + 21295 21297 usermount = callPackage ../os-specific/linux/usermount { }; 21296 21298 21297 21299 util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { }