complete-alias: init at 1.10.0

This commit is contained in:
Denny Schäfer 2021-06-24 16:28:55 +02:00 committed by Schäfer, Denny
parent cd3ed54f6e
commit a619e1bdd2
No known key found for this signature in database
GPG key ID: 0284052D45279748
2 changed files with 45 additions and 0 deletions

View 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 ];
};
}

View file

@ -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 { };