2013-06-03 22:08:57 +02:00
|
|
|
{ cabal, aeson, async, blazeBuilder, bloomfilter, bup
|
2013-10-02 19:49:08 +02:00
|
|
|
, caseInsensitive, clientsession, cryptoApi, cryptohash, curl
|
|
|
|
, dataDefault, dataenc, DAV, dbus, dlist, dns, editDistance
|
2013-08-05 10:19:57 +02:00
|
|
|
, extensibleExceptions, feed, filepath, git, gnupg1, gnutls, hamlet
|
2013-11-21 16:28:10 +01:00
|
|
|
, hinotify, hS3, hslogger, HTTP, httpConduit, httpTypes, IfElse
|
|
|
|
, json, lsof, MissingH, MonadCatchIOTransformers, monadControl, mtl
|
|
|
|
, network, networkInfo, networkMulticast, networkProtocolXmpp
|
|
|
|
, openssh, perl, QuickCheck, random, regexTdfa, rsync
|
|
|
|
, SafeSemaphore, SHA, stm, tasty, tastyHunit, tastyQuickcheck, text
|
|
|
|
, time, transformers, unixCompat, utf8String, uuid, wai, waiLogger
|
|
|
|
, warp, which, xmlConduit, xmlTypes, yesod, yesodCore, yesodDefault
|
|
|
|
, yesodForm, yesodStatic
|
2011-09-03 15:17:36 +02:00
|
|
|
}:
|
2011-03-23 16:57:53 +01:00
|
|
|
|
2013-06-03 22:08:57 +02:00
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "git-annex";
|
2013-12-01 23:29:08 +01:00
|
|
|
version = "5.20131130";
|
|
|
|
sha256 = "0px918wzv9zqxz7wc6rx2ay8rizbckw79yinhisjvp3y5lldyjj1";
|
2013-06-03 22:08:57 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
aeson async blazeBuilder bloomfilter caseInsensitive clientsession
|
2013-10-02 19:49:08 +02:00
|
|
|
cryptoApi cryptohash dataDefault dataenc DAV dbus dlist dns
|
|
|
|
editDistance extensibleExceptions feed filepath gnutls hamlet
|
2013-11-21 16:28:10 +01:00
|
|
|
hinotify hS3 hslogger HTTP httpConduit httpTypes IfElse json
|
2013-10-02 19:49:08 +02:00
|
|
|
MissingH MonadCatchIOTransformers monadControl mtl network
|
|
|
|
networkInfo networkMulticast networkProtocolXmpp QuickCheck random
|
2013-11-21 16:28:10 +01:00
|
|
|
regexTdfa SafeSemaphore SHA stm tasty tastyHunit tastyQuickcheck
|
|
|
|
text time transformers unixCompat utf8String uuid wai waiLogger
|
|
|
|
warp xmlConduit xmlTypes yesod yesodCore yesodDefault yesodForm
|
|
|
|
yesodStatic
|
2013-06-03 22:08:57 +02:00
|
|
|
];
|
2013-10-02 19:49:08 +02:00
|
|
|
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
|
2013-06-03 22:08:57 +02:00
|
|
|
configureFlags = "-fS3
|
|
|
|
-fWebDAV
|
|
|
|
-fInotify
|
|
|
|
-fDbus
|
2013-07-03 17:24:03 +02:00
|
|
|
-fAssistant
|
|
|
|
-fWebapp
|
2013-06-03 22:08:57 +02:00
|
|
|
-fPairing
|
|
|
|
-fXMPP
|
|
|
|
-fDNS
|
|
|
|
-fProduction
|
|
|
|
-fTDFA";
|
|
|
|
preConfigure = "patchShebangs .";
|
2013-10-03 14:31:50 +02:00
|
|
|
installPhase = "./Setup install";
|
2013-03-20 10:15:06 +01:00
|
|
|
checkPhase = ''
|
|
|
|
export HOME="$NIX_BUILD_TOP/tmp"
|
|
|
|
mkdir "$HOME"
|
2013-06-03 22:08:57 +02:00
|
|
|
cp dist/build/git-annex/git-annex git-annex
|
2013-03-20 10:15:06 +01:00
|
|
|
./git-annex test
|
|
|
|
'';
|
2011-03-23 16:57:53 +01:00
|
|
|
meta = {
|
2011-07-08 01:48:26 +02:00
|
|
|
homepage = "http://git-annex.branchable.com/";
|
2013-06-03 22:08:57 +02:00
|
|
|
description = "manage files with git, without checking their contents into git";
|
2013-07-01 11:04:02 +02:00
|
|
|
license = self.stdenv.lib.licenses.gpl3;
|
2013-06-03 22:08:57 +02:00
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.simons ];
|
2011-03-23 16:57:53 +01:00
|
|
|
};
|
2013-06-03 22:08:57 +02:00
|
|
|
})
|