2014-07-14 17:23:04 +02:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2014-03-21 18:45:49 +01:00
|
|
|
{ cabal, aeson, async, blazeBuilder, bloomfilter, bup, byteable
|
2013-10-02 19:49:08 +02:00
|
|
|
, caseInsensitive, clientsession, cryptoApi, cryptohash, curl
|
|
|
|
, dataDefault, dataenc, DAV, dbus, dlist, dns, editDistance
|
2014-06-03 11:34:18 +02:00
|
|
|
, exceptions, extensibleExceptions, fdoNotify, feed, filepath, git
|
|
|
|
, gnupg1, gnutls, hamlet, hinotify, hS3, hslogger, HTTP, httpClient
|
2014-04-04 23:23:06 +02:00
|
|
|
, httpConduit, httpTypes, IfElse, json, liftedBase, lsof, MissingH
|
2014-07-08 14:56:54 +02:00
|
|
|
, monadControl, mtl, network, networkInfo, networkMulticast
|
2014-07-18 12:20:51 +02:00
|
|
|
, networkProtocolXmpp, openssh, optparseApplicative, pathPieces
|
|
|
|
, 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, yesodCore, yesodDefault, yesodForm, yesodStatic
|
2014-07-19 01:37:54 +02:00
|
|
|
, fsnotify
|
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-07-18 12:20:51 +02:00
|
|
|
version = "5.20140717";
|
|
|
|
sha256 = "199gqp85f6xnyg3svs23n3r6q4pflvz4zy5y376klay9mzzp0rbl";
|
2013-06-03 22:08:57 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-03-21 18:45:49 +01:00
|
|
|
aeson async blazeBuilder bloomfilter byteable caseInsensitive
|
2014-07-19 01:37:54 +02:00
|
|
|
clientsession cryptoApi cryptohash dataDefault dataenc DAV
|
|
|
|
dlist dns editDistance exceptions extensibleExceptions
|
|
|
|
feed filepath gnutls hamlet hS3 hslogger HTTP httpClient
|
2014-06-03 11:34:18 +02:00
|
|
|
httpConduit httpTypes IfElse json liftedBase MissingH monadControl
|
2014-07-08 14:56:54 +02:00
|
|
|
mtl network networkInfo networkMulticast networkProtocolXmpp
|
2014-07-18 12:20:51 +02:00
|
|
|
optparseApplicative pathPieces 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-19 01:37:54 +02:00
|
|
|
] ++ (if self.stdenv.isDarwin then [
|
|
|
|
fsnotify
|
|
|
|
] else [
|
|
|
|
dbus fdoNotify hinotify
|
|
|
|
]);
|
2013-10-02 19:49:08 +02:00
|
|
|
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
|
2014-07-19 01:37:54 +02:00
|
|
|
configureFlags = "-fAssistant
|
|
|
|
-fProduction";
|
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
|
|
|
'';
|
2014-02-10 21:42:02 +01:00
|
|
|
propagatedUserEnvPkgs = [git lsof];
|
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
|
|
|
})
|