From 8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 11 Dec 2018 18:10:48 +0300 Subject: (* HUGE *) Use nixpkgs overlays --- pkgs/sproxy2/main.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pkgs/sproxy2/main.nix (limited to 'pkgs/sproxy2/main.nix') diff --git a/pkgs/sproxy2/main.nix b/pkgs/sproxy2/main.nix new file mode 100644 index 0000000..d02fba7 --- /dev/null +++ b/pkgs/sproxy2/main.nix @@ -0,0 +1,24 @@ +{ mkDerivation, aeson, base, base64-bytestring, blaze-builder +, bytestring, cereal, conduit, containers, cookie, docopt, entropy +, Glob, http-client, http-conduit, http-types +, interpolatedstring-perl6, network, postgresql-simple +, resource-pool, SHA, sqlite-simple, stdenv, text, time, unix +, unordered-containers, wai, wai-conduit, warp, warp-tls, word8 +, yaml +}: +mkDerivation { + pname = "sproxy2"; + version = "1.96.0"; + sha256 = "0wzkh312d7h957vkf2qqsbnf9xm98vm8y5kzray87rn6rdc5k5x6"; + isLibrary = false; + isExecutable = true; + executableHaskellDepends = [ + aeson base base64-bytestring blaze-builder bytestring cereal + conduit containers cookie docopt entropy Glob http-client + http-conduit http-types interpolatedstring-perl6 network + postgresql-simple resource-pool SHA sqlite-simple text time unix + unordered-containers wai wai-conduit warp warp-tls word8 yaml + ]; + description = "Secure HTTP proxy for authenticating users via OAuth2"; + license = stdenv.lib.licenses.mit; +} -- cgit v1.2.3