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
|
2013-12-14 11:30:18 +01:00
|
|
|
, network, networkConduit, networkInfo, networkMulticast
|
2014-01-28 10:31:43 +01:00
|
|
|
, networkProtocolXmpp, openssh, optparseApplicative, perl
|
|
|
|
, QuickCheck, random, regexTdfa, rsync, SafeSemaphore, SHA, stm
|
2014-01-30 08:32:41 +01:00
|
|
|
, tasty, tastyHunit, tastyQuickcheck, tastyRerun, 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";
|
2014-01-30 08:32:41 +01:00
|
|
|
version = "5.20140129";
|
|
|
|
sha256 = "0m1n3m16gvd0693i5xq5adki0hd0wdn7p5vqjxkqnc3imx9f11ng";
|
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
|
2013-12-14 11:30:18 +01:00
|
|
|
networkConduit networkInfo networkMulticast networkProtocolXmpp
|
2014-01-28 10:31:43 +01:00
|
|
|
optparseApplicative QuickCheck random regexTdfa SafeSemaphore SHA
|
2014-01-30 08:32:41 +01:00
|
|
|
stm tasty tastyHunit tastyQuickcheck tastyRerun 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";
|
2014-01-03 14:45:00 +01:00
|
|
|
preConfigure = ''
|
2013-12-14 22:05:17 +01:00
|
|
|
export HOME="$NIX_BUILD_TOP/tmp"
|
|
|
|
mkdir "$HOME"
|
2013-12-23 20:30:39 +01:00
|
|
|
'';
|
2014-01-03 14:45:00 +01:00
|
|
|
installPhase = "./Setup install";
|
2013-12-23 20:30:39 +01:00
|
|
|
checkPhase = ''
|
2013-12-22 17:36:40 +01:00
|
|
|
cp dist/build/git-annex/git-annex git-annex
|
|
|
|
./git-annex test
|
2013-12-14 22:05:17 +01:00
|
|
|
'';
|
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
|
|
|
})
|