about summary refs log tree commit diff
path: root/third_party/default.nix
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2020-07-05T19·08+0000
committerlukegb <lukegb@tvl.fyi>2020-07-05T22·42+0000
commit1915fbccd69c102cde4239285ebcb4c9ca9f9322 (patch)
treea279ebc0867a6cf0c91156ab9b1432483a67bddd /third_party/default.nix
parent4b9fde0abe01bb09e0c30402ce89ff02bc0afb49 (diff)
feat(3p/apereo-cas): initial Nix derivation (no TVL-specific config yet) r/1219
Change-Id: Ie7d52370dd554b110bbfa041b943fcf246373b94
Reviewed-on: https://cl.tvl.fyi/c/depot/+/933
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/default.nix')
-rw-r--r--third_party/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/default.nix b/third_party/default.nix
index 3e55ae63676b..9fb26887e0bc 100644
--- a/third_party/default.nix
+++ b/third_party/default.nix
@@ -81,6 +81,7 @@ let
       imagemagickBig
       installShellFiles
       jdk
+      jdk11
       jetbrains-mono
       jq
       kontemplate
@@ -122,6 +123,7 @@ let
       s6-portable-utils
       sbcl
       sqlite
+      stdenvNoCC
       stern
       symlinkJoin
       systemd
@@ -171,6 +173,19 @@ let
     haskellPackages = (nixpkgs.haskellPackages.override {
       overrides = (import ./haskell_overlay { pkgs = nixpkgs; });
     });
+
+    gradle_6 = (nixpkgs.gradleGen.override {
+      java = nixpkgs.jdk11;
+      jdk = nixpkgs.jdk11;
+    }).gradleGen rec {
+      name = "gradle-6.5.1";
+      nativeVersion = "0.22-milestone-3";
+
+      src = builtins.fetchurl {
+        url = "https://services.gradle.org/distributions/${name}-bin.zip";
+        sha256 = "0jmmipjh4fbsn92zpifa5cqg5ws2a4ha0s4jzqhrg4zs542x79sh";
+      };
+    };
   };
 
 in exposed.lib.fix(self: exposed // {