1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

Merge pull request #89844 from r-ryantm/auto-update/libgen-cli

libgen-cli: 1.0.5 -> 1.0.6
This commit is contained in:
Mario Rodas 2020-06-08 19:21:07 -05:00 committed by GitHub
commit 7f5bf01c67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,19 +1,28 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, installShellFiles }:
buildGoModule rec {
pname = "libgen-cli";
version = "1.0.5";
version = "1.0.6";
src = fetchFromGitHub {
owner = "ciehanski";
repo = pname;
rev = "v${version}";
sha256 = "1lfsnyzin2dqhwhz6phms6yipli88sqiw55ls18dfv7bvx30sqlp";
sha256 = "1ahqwrlsvgiig73dwlbjgkarf3a0z3xaihj8psd2ci5i0i07nm5v";
};
vendorSha256 = "1j45h8p13xfz0qy1nrddlx1xzbr5vqxd3q76hbb0v60636izfk0r";
vendorSha256 = "15ch0zfl4a7qvwszsfkfgw5v9492wjk4l4i324iq9b50g70lgyhd";
subPackages = [ "." ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
for shell in bash zsh; do
$out/bin/libgen-cli completion $shell > libgen-cli.$shell || :
installShellCompletion libgen-cli.$shell
done
'';
meta = with lib; {
homepage = "https://github.com/ciehanski/libgen-cli";
description =