mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
zsh-history: Refactor use of with lib
This commit is contained in:
parent
ab42e39367
commit
165b47bfe4
|
@ -1,6 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
with lib;
|
||||
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "zsh-history";
|
||||
|
@ -22,7 +20,7 @@ buildGoPackage rec {
|
|||
cp -r $out/share/zsh/completions $out/share/zsh/site-functions
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with lib; {
|
||||
description = "A CLI to provide enhanced history for your shell";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/b4b4r07/history;
|
||||
|
|
Loading…
Reference in a new issue