mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +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 New Issue
Block a user