summary refs log tree commit diff
path: root/pkgs/tools/networking/sproxy-web/default.nix
blob: fa3221a775989fbacfef4501267f16765d08e16b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ cabal, aeson, blazeHtml, blazeMarkup, configurator, hflags
, httpTypes, mtl, postgresqlSimple, resourcePool, scotty, text
, waiExtra, waiMiddlewareStatic, fetchurl
}:

cabal.mkDerivation (self: {
  pname = "sproxy-web";
  version = "0.1.0.2";
  src = fetchurl {
    url = "https://github.com/zalora/sproxy-web/archive/0.1.0.2.tar.gz";
    sha256 = "1rdzglvsas0rdgq3j5c9ll411yk168x7v3l7w8zdjgafa947j4d4";
  };
  isLibrary = false;
  isExecutable = true;
  buildDepends = [
    aeson blazeHtml blazeMarkup configurator hflags httpTypes mtl
    postgresqlSimple resourcePool scotty text waiExtra
    waiMiddlewareStatic
  ];
  meta = {
    homepage = "http://bitbucket.org/zalorasea/sproxy-web";
    description = "Web interface to sproxy";
    license = self.stdenv.lib.licenses.bsd3;
    platforms = self.ghc.meta.platforms;
  };
})