userhosts: init at 1.0.0

wip/nixpkgs-raku
Bob van der Linden 3 years ago
parent 900115a4f7
commit 263f2f666a
No known key found for this signature in database
GPG Key ID: EEBE8E3EC4A31364
  1. 23
      pkgs/tools/networking/userhosts/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

@ -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;
};
}

@ -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 { }

Loading…
Cancel
Save