tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
userhosts: init at 1.0.0
bobvanderlinden.tngl.sh
4 years ago
263f2f66
900115a4
+25
2 changed files
expand all
collapse all
unified
split
pkgs
tools
networking
userhosts
default.nix
top-level
all-packages.nix
+23
pkgs/tools/networking/userhosts/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
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
21293
usbutils = callPackage ../os-specific/linux/usbutils { };
21294
0
0
21295
usermount = callPackage ../os-specific/linux/usermount { };
21296
21297
util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { }
···
21292
21293
usbutils = callPackage ../os-specific/linux/usbutils { };
21294
21295
+
userhosts = callPackage ../tools/networking/userhosts { };
21296
+
21297
usermount = callPackage ../os-specific/linux/usermount { };
21298
21299
util-linux = if stdenv.isLinux then callPackage ../os-specific/linux/util-linux { }