about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-01-18 10:11:09 -0500
committerGitHub <noreply@github.com>2024-01-18 10:11:09 -0500
commitd56fb44cfefcebaa18b0fe93c064b2d277f4dfbd (patch)
treead3a3067c9f4e318872f4bcc0f08d1d6591f4cbf /pkgs
parentdc30cf4f88b3697cace3f76f48c38a41ec091b90 (diff)
parent7e9305d2a02559ddeb5a6d97053c2292296c080d (diff)
Merge pull request #281740 from pokon548/revert-dae-to-0.4.0
Revert "dae: 0.4.0 -> 0.5.0"
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/networking/dae/default.nix12
1 files changed, 4 insertions, 8 deletions
diff --git a/pkgs/tools/networking/dae/default.nix b/pkgs/tools/networking/dae/default.nix
index 9c262144bbc3d..18856ca5f0e35 100644
--- a/pkgs/tools/networking/dae/default.nix
+++ b/pkgs/tools/networking/dae/default.nix
@@ -2,27 +2,24 @@
 , clang
 , fetchFromGitHub
 , buildGoModule
-, installShellFiles
 }:
 buildGoModule rec {
   pname = "dae";
-  version = "0.5.0";
+  version = "0.4.0";
 
   src = fetchFromGitHub {
     owner = "daeuniverse";
     repo = "dae";
     rev = "v${version}";
-    hash = "sha256-DxGKfxu13F7+5zV/31GP9gkbGHrz5RdRe84J3DQ0iUs=";
+    hash = "sha256-hvAuWCacaWxXwxx5ktj57hnWt8fcnwD6rUuRj1+ZtFA=";
     fetchSubmodules = true;
   };
 
-  vendorHash = "sha256-UQRM3/JSsPDAGqYZ43bVYVvSLvqqZ/BJE6hwx5wzfcQ=";
+  vendorHash = "sha256-qK+x6ciAebwIWHRjRpNXCAqsfnmEx37evS4+7kwcFIs=";
 
   proxyVendor = true;
 
-  nativeBuildInputs = [ clang installShellFiles ];
-
-  CGO_ENABLED = 0;
+  nativeBuildInputs = [ clang ];
 
   ldflags = [
     "-s"
@@ -44,7 +41,6 @@ buildGoModule rec {
     install -Dm444 install/dae.service $out/lib/systemd/system/dae.service
     substituteInPlace $out/lib/systemd/system/dae.service \
       --replace /usr/bin/dae $out/bin/dae
-    installShellCompletion install/shell-completion/dae.{bash,zsh,fish}
   '';
 
   meta = with lib; {