Merge remote-tracking branch 'upstream/master' into wrapper-pname-support
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "antibody";
|
||||
version = "4.1.2";
|
||||
version = "4.2.0";
|
||||
|
||||
goPackagePath = "github.com/getantibody/antibody";
|
||||
|
||||
@@ -10,15 +10,15 @@ buildGoModule rec {
|
||||
owner = "getantibody";
|
||||
repo = "antibody";
|
||||
rev = "v${version}";
|
||||
sha256 = "1csanmvix7b2sa7nsy8nh3jq6gmhp8i51xivsabm1lj2y30c0ly3";
|
||||
sha256 = "1vds7mxqxa7xlhvjvmnh1nr1ra3dciav0qlv45s1dmwn5qrcilci";
|
||||
};
|
||||
|
||||
modSha256 = "1p9cw92ivwgpkvjxvwd9anbd1vzhpicm9il4pg37z2kgr2ihhnyh";
|
||||
modSha256 = "1n9sgrm16iig600f4q1cmbwwk0822isjvbyazplylha843510b17";
|
||||
|
||||
meta = with lib; {
|
||||
description = "The fastest shell plugin manager";
|
||||
homepage = https://github.com/getantibody/antibody;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ worldofpeace ];
|
||||
maintainers = with maintainers; [ filalex77 worldofpeace ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
{ stdenv, fetchFromGitHub, fzf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fzf-zsh-unstable";
|
||||
version = "2019-09-09";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Wyntau";
|
||||
repo = "fzf-zsh";
|
||||
rev = "829d7e40cc437dce8a6e234e259bbd4065e87124";
|
||||
sha256 = "1irjmxhcg1fm4g8p3psjqk7sz5qhj5kw73pyhv91njvpdhn9l26z";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace fzf-zsh.plugin.zsh \
|
||||
--replace \
|
||||
'fzf_path="$( cd "$fzf_zsh_path/../fzf/" && pwd )"' \
|
||||
"fzf_path=${fzf}" \
|
||||
--replace \
|
||||
'$fzf_path/shell' \
|
||||
'${fzf}/share/fzf'
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
install -Dm0644 fzf-zsh.plugin.zsh $out/share/zsh/plugins/fzf-zsh/fzf-zsh.plugin.zsh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/wyntau/fzf-zsh;
|
||||
description = "wrap fzf to use in oh-my-zsh";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ma27 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -5,13 +5,13 @@ with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "grml-zsh-config";
|
||||
version = "0.16.0";
|
||||
version = "0.16.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "grml";
|
||||
repo = "grml-etc-core";
|
||||
rev = "v${version}";
|
||||
sha256 = "1b794c3hfhw51aqp8dg8smxqjv4x518rs1ib4pdglc4d785rlq1k";
|
||||
sha256 = "1dmhwgs5v4f1yanbi6dg1lbpzmvq1l3dq7sra811ycsf4f6g0d7f";
|
||||
};
|
||||
|
||||
buildInputs = [ zsh coreutils txt2tags procps ]
|
||||
|
||||
@@ -4,13 +4,13 @@
|
||||
{ stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2019-09-08";
|
||||
version = "2019-11-21";
|
||||
pname = "oh-my-zsh";
|
||||
rev = "fd4571d1b02ac68833a5b5c166395434723b9128";
|
||||
rev = "76d6b0256398ad1becbc304a78f51bbacfee50e5";
|
||||
|
||||
src = fetchgit { inherit rev;
|
||||
url = "https://github.com/robbyrussell/oh-my-zsh";
|
||||
sha256 = "1294na7mb48xa5iifbsjvggiznglnydlnwhb1zqwrmdi84qhydri";
|
||||
sha256 = "0p049v1v0jk3v8inn99ankgdn2q5iamsxn203w4vb53266xjgx2r";
|
||||
};
|
||||
|
||||
pathsToLink = [ "/share/oh-my-zsh" ];
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "spaceship-prompt";
|
||||
version = "3.7.1";
|
||||
version = "3.11.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "denysdovhan";
|
||||
repo = "spaceship-prompt";
|
||||
sha256 = "0laihax18bs254rm2sww5wkjbmkp4m5c8aicgqpi4diz7difxk6z";
|
||||
rev = "aaa34aeab9ba0a99416788f627ec9aeffba392f0";
|
||||
sha256 = "1q7m9mmg82n4fddfz01y95d5n34xnzhrnn1lli0vih39sgmzim9b";
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zsh-completions";
|
||||
version = "0.30.0";
|
||||
version = "0.31.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zsh-users";
|
||||
repo = "zsh-completions";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1yf4rz99acdsiy0y1v3bm65xvs2m0sl92ysz0rnnrlbd5amn283l";
|
||||
sha256 = "0rw23m8cqxhcb4yjhbzb9lir60zn1xjy7hn3zv1fzz700f0i6fyk";
|
||||
};
|
||||
|
||||
installPhase= ''
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
{ stdenvNoCC, lib, fetchFromGitHub }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "zsh-fast-syntax-highlighting";
|
||||
version = "1.54";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zdharma";
|
||||
repo = "fast-syntax-highlighting";
|
||||
rev = "v${version}";
|
||||
sha256 = "019hda2pj8lf7px4h1z07b9l6icxx4b2a072jw36lz9bh6jahp32";
|
||||
};
|
||||
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
plugindir="$out/share/zsh/site-functions"
|
||||
|
||||
mkdir -p "$plugindir"
|
||||
cp -r -- {,_,-}fast-* chroma themes "$plugindir"/
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Syntax-highlighting for Zshell";
|
||||
homepage = "https://github.com/zdharma/fast-syntax-highlighting";
|
||||
license = licenses.bsd3;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zsh-history-substring-search";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zsh-users";
|
||||
repo = "zsh-history-substring-search";
|
||||
rev = "v${version}";
|
||||
sha256 = "0lgmq1xcccnz5cf7vl0r0qj351hwclx9p80cl0qczxry4r2g5qaz";
|
||||
sha256 = "0y8va5kc2ram38hbk2cibkk64ffrabfv1sh4xm7pjspsba9n5p1y";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
From efc16fbe7e41784f218d9c6cb4239b209cd77214 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Kampka <christian@kampka.net>
|
||||
Date: Sat, 12 Oct 2019 21:47:47 +0200
|
||||
Subject: [PATCH 1/2] Fix path marshalling when saveing config
|
||||
|
||||
---
|
||||
config/config.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/config/config.go b/config/config.go
|
||||
index 69a10c5..b5c61fe 100644
|
||||
--- a/config/config.go
|
||||
+++ b/config/config.go
|
||||
@@ -26,7 +26,7 @@ func (p *Path) UnmarshalText(text []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
-func (p *Path) MarshalText() (text []byte, err error) {
|
||||
+func (p Path) MarshalText() (text []byte, err error) {
|
||||
return []byte(p.path), nil
|
||||
}
|
||||
|
||||
--
|
||||
2.19.2
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
{ lib, fetchFromGitHub, buildGoModule, installShellFiles }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "zsh-history";
|
||||
version = "2019-10-07";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "b4b4r07";
|
||||
repo = "history";
|
||||
rev = "a08ad2dcffc852903ae54b0c5704b8a085009ef7";
|
||||
sha256 = "0r3p04my40dagsq1dssnk583qrlcps9f7ajp43z7mq73q3hrya5s";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./0001-Fix-path-marshalling-when-saveing-config.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
|
||||
modSha256 = "0f10b86gyn7m7lw43c8y1m30mdg0i092a319v3cb2qj05jb9vn42";
|
||||
goPackagePath = "github.com/b4b4r07/history";
|
||||
|
||||
postInstall = ''
|
||||
install -d $out/share
|
||||
cp -r "$NIX_BUILD_TOP/source/misc/"* "$out/share"
|
||||
installShellCompletion --zsh --name _history $out/share/zsh/completions/_history
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A CLI to provide enhanced history for your ZSH shell";
|
||||
license = licenses.mit;
|
||||
homepage = https://github.com/b4b4r07/history;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ kampka ];
|
||||
};
|
||||
}
|
||||
@@ -2,13 +2,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zsh-you-should-use";
|
||||
version = "1.4.0";
|
||||
version = "1.6.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "MichaelAquilina";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1n0mcgahx40acqjj617k0rhqpzjqjaa9xfs4b1xrjp3qdy9s0ns0";
|
||||
sha256 = "1xzq7xmmx4rg53pd69d0s9n561q4z35hlbb2sq2xd76gk3x6fars";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
Reference in New Issue
Block a user