about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/nomad
diff options
context:
space:
mode:
authorCottand <nico.dc@outlook.com>2023-12-08 18:43:34 +0000
committerCottand <nico.dc@outlook.com>2023-12-08 18:43:34 +0000
commit8959708ee6cf3a47ae3e7f80146761618b3142e5 (patch)
tree7f332aeda0d8e677f9d295192d305dd1b7f1d2b7 /pkgs/applications/networking/cluster/nomad
parentb45d2bf49d76a132dfdd5c52391d15bf4a83ae1a (diff)
nomad_1_7: init at 1.7.0
Diffstat (limited to 'pkgs/applications/networking/cluster/nomad')
-rw-r--r--pkgs/applications/networking/cluster/nomad/default.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix
index f5f3961ade48d..2ca0ca8d9fd61 100644
--- a/pkgs/applications/networking/cluster/nomad/default.nix
+++ b/pkgs/applications/networking/cluster/nomad/default.nix
@@ -83,4 +83,15 @@ rec {
       export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
     '';
   };
+
+  nomad_1_7 = generic {
+    buildGoModule = buildGo121Module;
+    version = "1.7.0";
+    sha256 = "sha256-7l7HBs5FymSTDXQzHCPpD35bFyz7zsA0ZnYiwTkd2Ts=";
+    vendorHash = "sha256-MZmhFdZZBkKZDgON1ewVm9Z9jZ1EULp/yMT9q6fCqIw=";
+    passthru.tests.nomad = nixosTests.nomad;
+    preCheck = ''
+      export PATH="$PATH:$NIX_BUILD_TOP/go/bin"
+    '';
+  };
 }