diff options
author | Peter Simons <simons@cryp.to> | 2011-03-23 15:57:53 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-03-23 15:57:53 +0000 |
commit | 789f14c0b78c3357a4966b496657570303175e20 (patch) | |
tree | 9d14b52363c858aa2ed4dc4c93a725ad49fa5db8 /pkgs/applications | |
parent | 07d14b99973786b9b6101771f280c63876897011 (diff) | |
download | nixpkgs-789f14c0b78c3357a4966b496657570303175e20.tar nixpkgs-789f14c0b78c3357a4966b496657570303175e20.tar.gz nixpkgs-789f14c0b78c3357a4966b496657570303175e20.tar.bz2 nixpkgs-789f14c0b78c3357a4966b496657570303175e20.tar.lz nixpkgs-789f14c0b78c3357a4966b496657570303175e20.tar.xz nixpkgs-789f14c0b78c3357a4966b496657570303175e20.tar.zst nixpkgs-789f14c0b78c3357a4966b496657570303175e20.zip |
git-annex: added initial version 0.20110320
svn path=/nixpkgs/trunk/; revision=26470
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/default.nix | 5 | ||||
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-annex/default.nix | 45 |
2 files changed, 50 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index a49205a7046..c9917e2edb0 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -42,6 +42,11 @@ rec { perlLibs = [perlPackages.LWP perlPackages.URI perlPackages.TermReadKey subversion]; }; + gitAnnex = lib.makeOverridable (import ./git-annex) { + inherit stdenv fetchurl libuuid rsync findutils curl perl; + inherit (haskellPackages) ghc MissingH utf8String QuickCheck2 pcreLight; + }; + qgit = import ./qgit { inherit fetchurl stdenv; inherit (xlibs) libXext libX11; diff --git a/pkgs/applications/version-management/git-and-tools/git-annex/default.nix b/pkgs/applications/version-management/git-and-tools/git-annex/default.nix new file mode 100644 index 00000000000..7c1a69f29a2 --- /dev/null +++ b/pkgs/applications/version-management/git-and-tools/git-annex/default.nix @@ -0,0 +1,45 @@ +{ stdenv, fetchurl, ghc, libuuid, rsync, findutils, curl, perl, MissingH, utf8String, QuickCheck2 +, pcreLight }: + +let + version = "0.20110320"; +in +stdenv.mkDerivation { + name = "git-annex-${version}"; + + src = fetchurl { + url = "http://ftp.de.debian.org/debian/pool/main/g/git-annex/git-annex_${version}.tar.gz"; + sha256 = "1waq9kx8yzyhaf3yib2adz91vqs2csa3lyxm5w7kvyqdq2yymhs4"; + }; + + buildInputs = [ghc libuuid rsync findutils curl perl MissingH utf8String QuickCheck2 + pcreLight]; + + preConfigure = "makeFlagsArray=( PREFIX=$out )"; + + meta = { + description = "Manage files with git, without checking the file contents into git"; + + longDescription = '' + Git-annex allows managing files with git, without checking the + file contents into git. While that may seem paradoxical, it is + useful when dealing with files larger than git can currently + easily handle, whether due to limitations in memory, checksumming + time, or disk space. + + Even without file content tracking, being able to manage files + with git, move files around and delete files with versioned + directory trees, and use branches and distributed clones, are all + very handy reasons to use git. And annexed files can co-exist in + the same git repository with regularly versioned files, which is + convenient for maintaining documents, Makefiles, etc that are + associated with annexed files but that benefit from full revision + control. + ''; + + license = "GPLv3+"; + homepage = "http://git-annex.branchable.com/"; + platforms = stdenv.lib.platforms.unix; + maintainers = [ stdenv.lib.maintainers.simons ]; + }; +} |