2014-03-21 10:45:49 -07:00
|
|
|
{ cabal, aeson, async, blazeBuilder, bloomfilter, bup, byteable
|
2013-10-02 10:49:08 -07:00
|
|
|
, caseInsensitive, clientsession, cryptoApi, cryptohash, curl
|
|
|
|
, dataDefault, dataenc, DAV, dbus, dlist, dns, editDistance
|
2014-06-03 02:34:18 -07:00
|
|
|
, exceptions, extensibleExceptions, fdoNotify, feed, filepath, git
|
|
|
|
, gnupg1, gnutls, hamlet, hinotify, hS3, hslogger, HTTP, httpClient
|
2014-04-04 14:23:06 -07:00
|
|
|
, httpConduit, httpTypes, IfElse, json, liftedBase, lsof, MissingH
|
2014-07-08 05:56:54 -07:00
|
|
|
, monadControl, mtl, network, networkInfo, networkMulticast
|
|
|
|
, networkProtocolXmpp, openssh, optparseApplicative, perl
|
|
|
|
, QuickCheck, random, regexTdfa, rsync, SafeSemaphore, securemem
|
|
|
|
, SHA, shakespeare, stm, tasty, tastyHunit, tastyQuickcheck
|
|
|
|
, tastyRerun, text, time, transformers, unixCompat, utf8String
|
|
|
|
, uuid, wai, waiExtra, warp, warpTls, which, xmlTypes, yesod
|
2014-07-09 15:50:56 -07:00
|
|
|
, yesodCore, yesodDefault, yesodForm, yesodStatic, fsnotify
|
2011-09-03 06:17:36 -07:00
|
|
|
}:
|
2011-03-23 08:57:53 -07:00
|
|
|
|
2013-06-03 13:08:57 -07:00
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "git-annex";
|
2014-07-08 05:56:54 -07:00
|
|
|
version = "5.20140707";
|
|
|
|
sha256 = "1m78125w6mq532ngfksrwj3s43qj7wyp756f6qxcqg1cl71xh34k";
|
2013-06-03 13:08:57 -07:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-03-21 10:45:49 -07:00
|
|
|
aeson async blazeBuilder bloomfilter byteable caseInsensitive
|
2014-07-09 15:50:56 -07:00
|
|
|
clientsession cryptoApi cryptohash dataDefault dataenc DAV
|
|
|
|
dlist dns editDistance exceptions extensibleExceptions
|
|
|
|
feed filepath gnutls hamlet hS3 hslogger HTTP httpClient
|
2014-06-03 02:34:18 -07:00
|
|
|
httpConduit httpTypes IfElse json liftedBase MissingH monadControl
|
2014-07-08 05:56:54 -07:00
|
|
|
mtl network networkInfo networkMulticast networkProtocolXmpp
|
|
|
|
optparseApplicative QuickCheck random regexTdfa SafeSemaphore
|
|
|
|
securemem SHA shakespeare stm tasty tastyHunit tastyQuickcheck
|
|
|
|
tastyRerun text time transformers unixCompat utf8String uuid wai
|
|
|
|
waiExtra warp warpTls xmlTypes yesod yesodCore yesodDefault
|
|
|
|
yesodForm yesodStatic
|
2014-07-09 15:50:56 -07:00
|
|
|
] ++ (if (!self.stdenv.isDarwin) then [
|
|
|
|
dbus fdoNotify hinotify
|
|
|
|
] else [
|
|
|
|
fsnotify
|
|
|
|
]);
|
2013-10-02 10:49:08 -07:00
|
|
|
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
|
2014-07-09 15:50:56 -07:00
|
|
|
configureFlags = "-fAssistant -fProduction";
|
2014-01-03 05:45:00 -08:00
|
|
|
preConfigure = ''
|
2013-12-14 13:05:17 -08:00
|
|
|
export HOME="$NIX_BUILD_TOP/tmp"
|
|
|
|
mkdir "$HOME"
|
2013-12-23 11:30:39 -08:00
|
|
|
'';
|
2014-01-03 05:45:00 -08:00
|
|
|
installPhase = "./Setup install";
|
2013-12-23 11:30:39 -08:00
|
|
|
checkPhase = ''
|
2013-12-22 08:36:40 -08:00
|
|
|
cp dist/build/git-annex/git-annex git-annex
|
|
|
|
./git-annex test
|
2013-12-14 13:05:17 -08:00
|
|
|
'';
|
2014-02-10 12:42:02 -08:00
|
|
|
propagatedUserEnvPkgs = [git lsof];
|
2011-03-23 08:57:53 -07:00
|
|
|
meta = {
|
2011-07-07 16:48:26 -07:00
|
|
|
homepage = "http://git-annex.branchable.com/";
|
2013-06-03 13:08:57 -07:00
|
|
|
description = "manage files with git, without checking their contents into git";
|
2013-07-01 02:04:02 -07:00
|
|
|
license = self.stdenv.lib.licenses.gpl3;
|
2013-06-03 13:08:57 -07:00
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
2011-03-23 08:57:53 -07:00
|
|
|
};
|
2013-06-03 13:08:57 -07:00
|
|
|
})
|