userhosts: init at 1.0.0
This commit is contained in:
parent
900115a4f7
commit
263f2f666a
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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -21292,6 +21292,8 @@ in
|
||||||
|
|
||||||
usbutils = callPackage ../os-specific/linux/usbutils { };
|
usbutils = callPackage ../os-specific/linux/usbutils { };
|
||||||
|
|
||||||
|
userhosts = callPackage ../tools/networking/userhosts { };
|
||||||
|
|
||||||
usermount = callPackage ../os-specific/linux/usermount { };
|
usermount = callPackage ../os-specific/linux/usermount { };
|
||||||
|
|
||||||
util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { }
|
util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { }
|
||||||
|
|
Loading…
Reference in a new issue