mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 03:30:45 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
24 lines
563 B
Nix
24 lines
563 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
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 = "Libc wrapper providing per-user hosts file";
|
|
homepage = "https://github.com/figiel/hosts";
|
|
maintainers = [ maintainers.bobvanderlinden ];
|
|
license = licenses.cc0;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|