1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/shells/nix-bash-completions/default.nix
Tor Hedin Brønner 9a27fee60a nix-bash-completions: 0.4 -> 0.5
Various improvements and bugfixes.
2017-11-21 14:05:03 +01:00

27 lines
706 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "0.5";
name = "nix-bash-completions-${version}";
src = fetchFromGitHub {
owner = "hedning";
repo = "nix-bash-completions";
rev = "v${version}";
sha256 = "095dbbqssaxf0y85xw73gajif6lzy2aja4scg3plplng3k9zbldz";
};
installPhase = ''
mkdir -p $out/share/bash-completion/completions
cp _nix $out/share/bash-completion/completions
'';
meta = with stdenv.lib; {
homepage = http://github.com/hedning/nix-bash-completions;
description = "Bash completions for Nix, NixOS, and NixOps";
license = licenses.bsd3;
platforms = platforms.all;
maintainers = with maintainers; [ hedning ];
};
}