1 { stdenv, lib, fetchFromGitHub, makeWrapper
2 , curl, python3, bind, iproute2, bc, gitMinimal }:
5 deps = lib.makeBinPath [
15 pname = "bashSnippets";
18 src = fetchFromGitHub {
19 owner = "alexanderepstein";
20 repo = "Bash-Snippets";
22 sha256 = "044nxgd3ic2qr6hgq5nymn3dyf5i4s8mv5z4az6jvwlrjnvbg8cp";
25 nativeBuildInputs = [ makeWrapper ];
28 patchShebangs install.sh
29 substituteInPlace install.sh --replace /usr/local "$out"
37 mkdir -p "$out"/bin "$out"/share/man/man1
39 for file in "$out"/bin/*; do
40 wrapProgram "$file" --prefix PATH : "${deps}"
45 description = "A collection of small bash scripts for heavy terminal users";
46 homepage = "https://github.com/alexanderepstein/Bash-Snippets";
47 license = licenses.mit;
49 platforms = platforms.unix;