mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 11:00:19 +03:00
24 lines
592 B
Nix
24 lines
592 B
Nix
{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;
|
|
};
|
|
}
|