diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-03-18 10:19:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 10:19:33 +0100 |
commit | 353177b94b7f03daabe1965efa622fae02d7c8db (patch) | |
tree | f8de8c8c27d657377d450198eb474ac5dcfda015 /pkgs | |
parent | 8d1664a7a8225eccb3d860b0819f90d2812d536e (diff) | |
download | nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.tar nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.tar.gz nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.tar.bz2 nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.tar.lz nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.tar.xz nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.tar.zst nixpkgs-353177b94b7f03daabe1965efa622fae02d7c8db.zip |
hostctl: update description
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/system/hostctl/default.nix | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/pkgs/tools/system/hostctl/default.nix b/pkgs/tools/system/hostctl/default.nix index 5e03609932c..bf3a2511858 100644 --- a/pkgs/tools/system/hostctl/default.nix +++ b/pkgs/tools/system/hostctl/default.nix @@ -1,4 +1,8 @@ -{ buildGoModule, fetchFromGitHub, lib, installShellFiles }: +{ lib +, buildGoModule +, fetchFromGitHub +, installShellFiles +}: buildGoModule rec { pname = "hostctl"; @@ -8,14 +12,21 @@ buildGoModule rec { owner = "guumaster"; repo = pname; rev = "v${version}"; - sha256 = "sha256-rvUm31WRSLusM9VGsIHKGTH6Vs8LWPtzPDs3azA710w="; + hash = "sha256-rvUm31WRSLusM9VGsIHKGTH6Vs8LWPtzPDs3azA710w="; }; vendorSha256 = "sha256-rGDWrivIdl5FTu/kNR8nAfE2+1hE4cm3uDg7oBobE9M="; - ldflags = [ "-s" "-w" "-X github.com/guumaster/hostctl/cmd/hostctl/actions.version=${version}" ]; + nativeBuildInputs = [ + installShellFiles + ]; + + ldflags = [ + "-s" + "-w" + "-X github.com/guumaster/hostctl/cmd/hostctl/actions.version=${version}" + ]; - nativeBuildInputs = [ installShellFiles ]; postInstall = '' installShellCompletion --cmd hostctl \ --bash <($out/bin/hostctl completion bash) \ @@ -23,7 +34,7 @@ buildGoModule rec { ''; meta = with lib; { - description = "Your dev tool to manage /etc/hosts like a pro!"; + description = "CLI tool to manage the /etc/hosts file"; longDescription = '' This tool gives you more control over the use of your hosts file. You can have multiple profiles and switch them on/off as you need. |