mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
bashSnippets: 1.12.0 -> 1.17.3
This commit is contained in:
parent
de761128da
commit
99be19c3c6
@ -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}"
|
||||||
|
Loading…
Reference in New Issue
Block a user