Merge pull request #31527 from hedning/nix-bash-completion-fix

nix-bash-completions: 0.1 -> 0.2
This commit is contained in:
Renaud 2017-11-11 18:13:48 +01:00 committed by GitHub
commit 98d1f780b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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