mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
f1c80cf20c
This is a small wrapper of Git, which integrates some GitHub specific features, especially stuff like merging or sending pull requests or attaching commits to an issue. I'm not quite familiar with the Nix integration of Ruby, so let's hope that I'm not doing something horrible here. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
105 lines
3.2 KiB
Nix
105 lines
3.2 KiB
Nix
/* moving all git tools into one attribute set because git is unlikely to be
|
|
* referenced by other packages and you can get a fast overview.
|
|
*/
|
|
args: with args; with pkgs;
|
|
let
|
|
inherit (pkgs) stdenv fetchgit fetchurl subversion;
|
|
in
|
|
rec {
|
|
|
|
git = lib.makeOverridable (import ./git) {
|
|
inherit fetchurl stdenv curl openssl zlib expat perl python gettext gnugrep
|
|
asciidoc texinfo xmlto docbook2x docbook_xsl docbook_xml_dtd_45 libxslt
|
|
cpio tcl tk makeWrapper subversionClient;
|
|
svnSupport = false; # for git-svn support
|
|
guiSupport = false; # requires tcl/tk
|
|
sendEmailSupport = false; # requires plenty of perl libraries
|
|
perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey];
|
|
smtpPerlLibs = [
|
|
perlPackages.NetSMTP perlPackages.NetSMTPSSL
|
|
perlPackages.IOSocketSSL perlPackages.NetSSLeay
|
|
perlPackages.MIMEBase64 perlPackages.AuthenSASL
|
|
perlPackages.DigestHMAC
|
|
];
|
|
};
|
|
|
|
# support for bugzilla
|
|
gitBz = import ./git-bz {
|
|
inherit fetchgit stdenv makeWrapper python asciidoc xmlto # docbook2x docbook_xsl docbook_xml_dtd_45 libxslt
|
|
;
|
|
inherit (pythonPackages) pysqlite;
|
|
};
|
|
|
|
# Git with SVN support, but without GUI.
|
|
gitSVN = lowPrio (appendToName "with-svn" (git.override {
|
|
svnSupport = true;
|
|
}));
|
|
|
|
# The full-featured Git.
|
|
gitFull = appendToName "full" (git.override {
|
|
svnSupport = true;
|
|
guiSupport = true;
|
|
sendEmailSupport = !stdenv.isDarwin;
|
|
});
|
|
|
|
gitAnnex = lib.makeOverridable (import ./git-annex) {
|
|
inherit stdenv fetchurl perl coreutils git libuuid rsync findutils curl ikiwiki which openssh;
|
|
inherit (haskellPackages) ghc bloomfilter dataenc editDistance hinotify hS3 hslogger HTTP
|
|
blazeBuilder blazeHtml caseInsensitive IfElse json liftedBase MissingH monadControl mtl
|
|
network pcreLight SHA stm utf8String networkInfo dbus clientsession cryptoApi dataDefault
|
|
extensibleExceptions filepath hamlet httpTypes networkMulticast text time transformers
|
|
transformersBase wai waiLogger warp yesod yesodDefault yesodStatic testpack QuickCheck
|
|
SafeSemaphore networkPprotocolXmpp async dns DAV;
|
|
};
|
|
|
|
qgit = import ./qgit {
|
|
inherit fetchurl stdenv;
|
|
inherit (xlibs) libXext libX11;
|
|
qt = qt4;
|
|
};
|
|
|
|
qgitGit = import ./qgit/qgit-git.nix {
|
|
inherit fetchurl sourceFromHead stdenv;
|
|
inherit (xlibs) libXext libX11;
|
|
qt = qt4;
|
|
};
|
|
|
|
stgit = import ./stgit {
|
|
inherit fetchurl stdenv python git;
|
|
};
|
|
|
|
topGit = lib.makeOverridable (import ./topgit) {
|
|
inherit stdenv fetchurl unzip;
|
|
};
|
|
|
|
tig = import ./tig {
|
|
inherit stdenv fetchurl ncurses asciidoc xmlto docbook_xsl;
|
|
};
|
|
|
|
hub = import ./hub {
|
|
inherit (rubyLibs) rake;
|
|
inherit stdenv fetchgit groff makeWrapper;
|
|
};
|
|
|
|
gitFastExport = import ./fast-export {
|
|
inherit fetchgit stdenv mercurial coreutils git makeWrapper subversion;
|
|
};
|
|
|
|
git2cl = import ./git2cl {
|
|
inherit fetchgit stdenv perl;
|
|
};
|
|
|
|
svn2git = import ./svn2git {
|
|
inherit stdenv fetchgit ruby makeWrapper;
|
|
git = gitSVN;
|
|
};
|
|
|
|
svn2git_kde = callPackage ./svn2git-kde { };
|
|
|
|
gitSubtree = import ./git-subtree {
|
|
inherit stdenv fetchurl git asciidoc xmlto docbook_xsl docbook_xml_dtd_45 libxslt;
|
|
};
|
|
|
|
darcsToGit = callPackage ./darcs-to-git { };
|
|
}
|