Merge pull request #88125 from r-ryantm/auto-update/dasht

dasht: 2.3.0 -> 2.4.0
This commit is contained in:
Mario Rodas 2020-05-19 08:34:53 -05:00 committed by GitHub
commit 82428c4456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,7 @@
, lib , lib
, fetchFromGitHub , fetchFromGitHub
, makeWrapper , makeWrapper
, installShellFiles
, coreutils , coreutils
, gnused , gnused
, gnugrep , gnugrep
@ -14,13 +15,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "dasht"; pname = "dasht";
version = "2.3.0"; version = "2.4.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "sunaku"; owner = "sunaku";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "0d0pcjalba58nvxdgn39m4b6n9ifajf3ygyjaqgvzwxzgpzw0a60"; sha256 = "08wssmifxi7pnvn9gqrvpzpkc2qpkfbzbhxh0dk1gff2y2211qqk";
}; };
deps = lib.makeBinPath [ deps = lib.makeBinPath [
@ -35,7 +36,7 @@ stdenv.mkDerivation rec {
(placeholder "out") (placeholder "out")
]; ];
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper installShellFiles ];
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
@ -43,8 +44,8 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin mkdir -p $out/bin
cp bin/* $out/bin/ cp bin/* $out/bin/
mkdir -p $out/share/man/man1 installManPage man/man1/*
cp man/man1/* $out/share/man/man1/ installShellCompletion --zsh etc/zsh/completions/*
for i in $out/bin/*; do for i in $out/bin/*; do
echo "Wrapping $i" echo "Wrapping $i"