bashSnippets: 1.12.0 -> 1.17.3

This commit is contained in:
Silvan Mosberger 2017-08-03 04:25:11 +02:00 committed by Robin Gloster
parent de761128da
commit 99be19c3c6

View File

@ -1,10 +1,9 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper { stdenv, lib, fetchFromGitHub, makeWrapper
, curl, netcat, mpv, python, bind, iproute, bc, gitMinimal }: , curl, netcat, python, bind, iproute, bc, gitMinimal }:
let let
version = "1.12.0"; version = "1.17.3";
deps = lib.makeBinPath [ deps = lib.makeBinPath [
curl curl
mpv
python python
bind.dnsutils bind.dnsutils
iproute iproute
@ -19,7 +18,7 @@ stdenv.mkDerivation {
owner = "alexanderepstein"; owner = "alexanderepstein";
repo = "Bash-Snippets"; repo = "Bash-Snippets";
rev = "v${version}"; rev = "v${version}";
sha256 = "0kx2a8z3jbmmardw9z8fpghbw5mrbz4knb3wdihq35iarcbrddrg"; sha256 = "1xdjk8bjh7l6h7gdqrra1dh4wdq89wmd0jsirsvqa3bmcsb2wz1r";
}; };
buildInputs = [ makeWrapper ]; buildInputs = [ makeWrapper ];
@ -32,7 +31,7 @@ stdenv.mkDerivation {
dontBuild = true; dontBuild = true;
installPhase = '' installPhase = ''
mkdir -p "$out"/bin "$out"/man/man1 mkdir -p "$out"/bin "$out"/share/man/man1
./install.sh all ./install.sh all
for file in "$out"/bin/*; do for file in "$out"/bin/*; do
wrapProgram "$file" --prefix PATH : "${deps}" wrapProgram "$file" --prefix PATH : "${deps}"