fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib
2, fetchFromGitHub
3, stdenvNoCC
4}:
5
6stdenvNoCC.mkDerivation rec {
7 pname = "complete-alias";
8 version = "1.18.0";
9
10 src = fetchFromGitHub {
11 owner = "cykerway";
12 repo = pname;
13 rev = version;
14 sha256 = "18lmdb3inphxyjv08ing5wckqnjq0m5zfl0f15mqzlvf2ypar63x";
15 };
16
17 buildPhase = ''
18 runHook preBuild
19
20 # required for the patchShebangs setup hook
21 chmod +x complete_alias
22
23 patchShebangs complete_alias
24
25 runHook postBuild
26 '';
27
28 installPhase = ''
29 runHook preInstall
30
31 mkdir -p $out/bin
32 cp -r complete_alias "$out"/bin
33
34 runHook postInstall
35 '';
36
37 meta = with lib; {
38 description = "Automagical shell alias completion";
39 homepage = "https://github.com/cykerway/complete-alias";
40 license = licenses.lgpl3Only;
41 maintainers = with maintainers; [ tuxinaut ];
42 };
43}