1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 09:31:01 +00:00
nixpkgs/pkgs/tools/networking/sproxy/default.nix

40 lines
1.5 KiB
Nix
Raw Normal View History

2014-04-06 15:54:44 +01:00
{ cabal, aeson, attoparsec, caseInsensitive, certificate
2014-04-24 18:21:46 +01: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 15:54:44 +01:00
}:
cabal.mkDerivation (self: {
pname = "sproxy";
2014-04-24 18:21:46 +01:00
version = "0.8.0";
2014-04-06 15:54:44 +01:00
src = fetchurl {
2014-04-24 18:21:46 +01:00
url = "https://github.com/zalora/sproxy/archive/0.8.0.tar.gz";
sha256 = "11xn4k509ck73pacyz2kh0924n2vy8rwakwd42dwbvhhysf47rdx";
2014-04-06 15:54:44 +01:00
};
isLibrary = false;
isExecutable = true;
2014-04-24 18:21:46 +01:00
patches = [ ./new-http-kit.patch ];
doCheck = false;
2014-04-06 15:54:44 +01:00
buildDepends = [
aeson attoparsec caseInsensitive certificate concurrentExtra
2014-04-24 18:21:46 +01:00
cryptoRandom curl dataDefault hslogger httpKit httpTypes
2014-04-06 15:54:44 +01: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 18:21:46 +01: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 15:54:44 +01:00
];
meta = {
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})