mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 21:33:49 +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/'
25 lines
548 B
Nix
25 lines
548 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "hostess";
|
|
version = "0.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "cbednarski";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1izszf60nsa6pyxx3kd8qdrz3h47ylm17r9hzh9wk37f61pmm42j";
|
|
};
|
|
|
|
subPackages = [ "." ];
|
|
|
|
vendorHash = null;
|
|
|
|
meta = with lib; {
|
|
description = "Idempotent command-line utility for managing your /etc/hosts* file";
|
|
mainProgram = "hostess";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ edlimerkaj ];
|
|
};
|
|
}
|