complete-alias: init at 1.10.0
This commit is contained in:
parent
cd3ed54f6e
commit
a619e1bdd2
2 changed files with 45 additions and 0 deletions
43
pkgs/tools/misc/complete-alias/default.nix
Normal file
43
pkgs/tools/misc/complete-alias/default.nix
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, stdenvNoCC
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "complete-alias";
|
||||||
|
version = "1.10.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cykerway";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "1s0prdnmb2qnzc8d7ddldzqa53yc10qq0lbgx2l9dzmz8pdwylyc";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildPhase = ''
|
||||||
|
runHook preBuild
|
||||||
|
|
||||||
|
# required for the patchShebangs setup hook
|
||||||
|
chmod +x complete_alias
|
||||||
|
|
||||||
|
patchShebangs complete_alias
|
||||||
|
|
||||||
|
runHook postBuild
|
||||||
|
'';
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
mkdir -p $out/bin
|
||||||
|
cp -r complete_alias "$out"/bin
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Automagical shell alias completion";
|
||||||
|
homepage = "https://github.com/cykerway/complete-alias";
|
||||||
|
license = licenses.lgpl3Only;
|
||||||
|
maintainers = with maintainers; [ tuxinaut ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -23270,6 +23270,8 @@ in
|
||||||
|
|
||||||
communi = libsForQt5.callPackage ../applications/networking/irc/communi { };
|
communi = libsForQt5.callPackage ../applications/networking/irc/communi { };
|
||||||
|
|
||||||
|
complete-alias = callPackage ../tools/misc/complete-alias { };
|
||||||
|
|
||||||
confclerk = callPackage ../applications/misc/confclerk { };
|
confclerk = callPackage ../applications/misc/confclerk { };
|
||||||
|
|
||||||
copyq = libsForQt514.callPackage ../applications/misc/copyq { };
|
copyq = libsForQt514.callPackage ../applications/misc/copyq { };
|
||||||
|
|
Loading…
Reference in a new issue