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-08-19 20:43:26 +02:00
|
|
|
, exceptions, fdoNotify, feed, filepath, git, gnupg1, gnutls
|
|
|
|
, hamlet, hinotify, hS3, hslogger, httpClient, httpConduit
|
|
|
|
, httpTypes, IfElse, json, lsof, MissingH, monadControl, mtl
|
|
|
|
, network, networkInfo, networkMulticast, 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
|
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-08-19 20:43:26 +02:00
|
|
|
version = "5.20140817";
|
|
|
|
sha256 = "0cly19rd250qiikzszgad2r5xz570kr00vcb8ij6icbm53pw3hxc";
|
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-08-19 20:43:26 +02:00
|
|
|
clientsession cryptoApi cryptohash dataDefault dataenc DAV dbus
|
|
|
|
dlist dns editDistance exceptions fdoNotify feed filepath gnutls
|
|
|
|
hamlet hinotify hS3 hslogger httpClient httpConduit httpTypes
|
|
|
|
IfElse json MissingH monadControl mtl network networkInfo
|
|
|
|
networkMulticast networkProtocolXmpp 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
|
|
|
|
];
|
2013-10-02 19:49:08 +02:00
|
|
|
buildTools = [ bup curl git gnupg1 lsof openssh perl rsync which ];
|
2014-08-19 20:43:26 +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;
|
2014-08-19 20:43:26 +02:00
|
|
|
maintainers = with self.stdenv.lib.maintainers; [ simons ];
|
2011-03-23 16:57:53 +01:00
|
|
|
};
|
2013-06-03 22:08:57 +02:00
|
|
|
})
|