mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
mani: 0.10.0 -> 0.11.1
* mani: 0.10.0 -> 0.11.1 (#154630) * mani: set proper version Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
f136c5adcc
commit
4b46a593ef
1 changed files with 5 additions and 3 deletions
|
@ -2,19 +2,21 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "mani";
|
||||
version = "0.10.0";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "alajmo";
|
||||
repo = "mani";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-9rcgPeYFHdIN73K0zGPEHqFFLFkVYkNYRXJ+0/Zo4zI=";
|
||||
sha256 = "sha256-9SvjgXQADDNyv8O9KKE3gKXu67Nz5LepayUXSbWwEoY=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-ZivzDfjx2djzS0Xm3GISK3zpB5fUUMgy2o4Ti1Z9wMM=";
|
||||
vendorSha256 = "sha256-cuAZN08A2nND9d4c9w+kTqiMB9yaJ49Q0aT/V0J9FRw=";
|
||||
|
||||
nativeBuildInputs = [ installShellFiles makeWrapper ];
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/alajmo/mani/cmd.version=${version}" ];
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd mani \
|
||||
--bash <($out/bin/mani completion bash) \
|
||||
|
|
Loading…
Reference in a new issue