Author: simons
Date: Thu Jul 21 22:02:01 2011
New Revision: 27895
URL: https://svn.nixos.org/websvn/nix/?rev=27895&sc=1
Log:
all-packages.nix: added package bash-completion
Added:
nixpkgs/trunk/pkgs/shells/bash-completion/
nixpkgs/trunk/pkgs/shells/bash-completion/default.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/shells/bash-completion/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/shells/bash-completion/default.nix Thu Jul 21
22:02:01 2011 (r27895)
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl }:
+
+let
+ version = "1.3";
+in
+stdenv.mkDerivation {
+ name = "bash-completion-${version}";
+
+ src = fetchurl {
+ url =
"http://bash-completion.alioth.debian.org/files/bash-completion-${version}.tar.bz2";
+ sha256 =
"8ebe30579f0f3e1a521013bcdd183193605dab353d7a244ff2582fb3a36f7bec";
+ };
+
+ postInstall = ''
+ rm $out/etc/profile.d/bash_completion.sh
+ rmdir $out/etc/profile.d
+ '';
+
+ meta = {
+ homepage = "http://bash-completion.alioth.debian.org/";
+ description = "Programmable completion for the bash shell";
+ license = "GPL";
+
+ maintainers = [ stdenv.lib.maintainers.simons ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Jul 21 21:54:40
2011 (r27894)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Thu Jul 21 22:02:01
2011 (r27895)
@@ -1573,6 +1573,8 @@
interactive = true;
});
+ bashCompletion = callPackage ../shells/bash-completion { };
+
dash = callPackage ../shells/dash { };
ipython = callPackage ../shells/ipython { };
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits