about summary refs log tree commit diff
path: root/pkgs/applications/networking/twingate
diff options
context:
space:
mode:
authoranton <anton@twingate.com>2023-07-21 18:12:38 +0300
committeranton <anton@twingate.com>2023-07-26 14:41:01 +0300
commit946d940eba74304ebef6ee880f868b83ef3abba9 (patch)
tree95165d64800179d4a7eb6bb75629fbe43a9d364a /pkgs/applications/networking/twingate
parent6a5370f0f1eb6d3942e3c6c75f2546508893e289 (diff)
twingate: PR comments' fixes
Diffstat (limited to 'pkgs/applications/networking/twingate')
-rw-r--r--pkgs/applications/networking/twingate/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/networking/twingate/default.nix b/pkgs/applications/networking/twingate/default.nix
index e14d56956446c..51ca694962929 100644
--- a/pkgs/applications/networking/twingate/default.nix
+++ b/pkgs/applications/networking/twingate/default.nix
@@ -8,6 +8,7 @@
 , udev
 , cryptsetup
 , stdenv
+, nixosTests
 }:
 
 stdenv.mkDerivation rec {
@@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
 
   src = fetchurl {
     url = "https://binaries.twingate.com/client/linux/DEB/x86_64/${version}/twingate-amd64.deb";
-    sha256 = "acf623192ae348d49d8cc6513f419dedaf65442f88d3aa0ebd964450427ab399";
+    hash = "sha256-rPYjGSrjSNSdjMZRP0Gd7a9lRC+I06oOvZZEUEJ6s5k=";
   };
 
   buildInputs = [ dbus curl libnl udev cryptsetup ];
@@ -41,11 +42,13 @@ stdenv.mkDerivation rec {
     mv usr/share $out/share
   '';
 
+  passthru.tests = { inherit (nixosTests) twingate; };
+
   meta = with lib; {
     description = "Twingate Client";
     homepage = "https://twingate.com";
     license = licenses.unfree;
     maintainers = with maintainers; [ tonyshkurenko ];
-    platforms = platforms.linux;
+    platforms = [ "x86_64-linux" ];
   };
 }