diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2018-12-11 18:10:48 +0300 |
commit | 8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 (patch) | |
tree | d03b70f693463fc836a8dbe4240424d2547530c8 /pkgs/sproxy2 | |
parent | c4273035cf5876e3ba8ed2c6b492d31c2de290ee (diff) | |
download | nixsap-8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3.tar.gz |
(* HUGE *) Use nixpkgs overlays
Diffstat (limited to 'pkgs/sproxy2')
-rw-r--r-- | pkgs/sproxy2/default.nix | 4 | ||||
-rw-r--r-- | pkgs/sproxy2/main.nix | 24 |
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/sproxy2/default.nix b/pkgs/sproxy2/default.nix new file mode 100644 index 0000000..cd66324 --- /dev/null +++ b/pkgs/sproxy2/default.nix @@ -0,0 +1,4 @@ +{ haskellPackages }: + +haskellPackages.callPackage ./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; +} |