zsh-history: Refactor use of with lib
This commit is contained in:
parent
ab42e39367
commit
165b47bfe4
@ -1,6 +1,4 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, buildGoPackage }:
|
{ lib, fetchFromGitHub, buildGoPackage }:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "zsh-history";
|
pname = "zsh-history";
|
||||||
@ -22,7 +20,7 @@ buildGoPackage rec {
|
|||||||
cp -r $out/share/zsh/completions $out/share/zsh/site-functions
|
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";
|
description = "A CLI to provide enhanced history for your shell";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
homepage = https://github.com/b4b4r07/history;
|
homepage = https://github.com/b4b4r07/history;
|
||||||
|
Loading…
Reference in New Issue
Block a user