2014-04-06 14:54:44 +00:00
|
|
|
{ cabal, aeson, attoparsec, caseInsensitive, certificate
|
2014-04-24 17:21:46 +00:00
|
|
|
, concurrentExtra, conduit, connection, cryptoRandom, curl
|
|
|
|
, dataDefault, hslogger, hspec, httpConduit, httpKit, httpTypes
|
|
|
|
, interpolatedstringPerl6, mtl, network, optparseApplicative
|
|
|
|
, postgresqlSimple, safe, SHA, split, stringConversions, time, tls
|
|
|
|
, unorderedContainers, utf8String, wai, warp, x509, yaml, fetchurl
|
2014-04-06 14:54:44 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "sproxy";
|
2014-04-24 17:21:46 +00:00
|
|
|
version = "0.8.0";
|
2014-04-06 14:54:44 +00:00
|
|
|
src = fetchurl {
|
2014-04-24 17:21:46 +00:00
|
|
|
url = "https://github.com/zalora/sproxy/archive/0.8.0.tar.gz";
|
|
|
|
sha256 = "11xn4k509ck73pacyz2kh0924n2vy8rwakwd42dwbvhhysf47rdx";
|
2014-04-06 14:54:44 +00:00
|
|
|
};
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
2014-04-24 17:21:46 +00:00
|
|
|
patches = [ ./new-http-kit.patch ];
|
|
|
|
doCheck = false;
|
2014-04-06 14:54:44 +00:00
|
|
|
buildDepends = [
|
|
|
|
aeson attoparsec caseInsensitive certificate concurrentExtra
|
2014-04-24 17:21:46 +00:00
|
|
|
cryptoRandom curl dataDefault hslogger httpKit httpTypes
|
2014-04-06 14:54:44 +00:00
|
|
|
interpolatedstringPerl6 mtl network optparseApplicative
|
|
|
|
postgresqlSimple safe SHA split stringConversions time tls
|
|
|
|
unorderedContainers utf8String x509 yaml
|
|
|
|
];
|
|
|
|
testDepends = [
|
|
|
|
aeson attoparsec caseInsensitive certificate concurrentExtra
|
2014-04-24 17:21:46 +00:00
|
|
|
conduit connection cryptoRandom curl dataDefault hslogger hspec
|
|
|
|
httpConduit httpKit httpTypes interpolatedstringPerl6 mtl network
|
|
|
|
optparseApplicative postgresqlSimple safe SHA split
|
|
|
|
stringConversions time tls unorderedContainers utf8String wai warp
|
|
|
|
x509 yaml
|
2014-04-06 14:54:44 +00:00
|
|
|
];
|
|
|
|
meta = {
|
|
|
|
license = self.stdenv.lib.licenses.mit;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2015-02-20 12:49:57 +00:00
|
|
|
broken = true;
|
2014-04-06 14:54:44 +00:00
|
|
|
};
|
|
|
|
})
|