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