aboutsummaryrefslogtreecommitdiff
path: root/pkgs/amnezia-client/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/amnezia-client/default.nix')
-rw-r--r--pkgs/amnezia-client/default.nix70
1 files changed, 0 insertions, 70 deletions
diff --git a/pkgs/amnezia-client/default.nix b/pkgs/amnezia-client/default.nix
deleted file mode 100644
index 5e8dc60..0000000
--- a/pkgs/amnezia-client/default.nix
+++ /dev/null
@@ -1,70 +0,0 @@
-{ stdenv
-, lib
-, fetchFromGitHub
-, cmake
-, pkg-config
-, libsecret
-, libgcrypt
-, openssl
-, openvpn
-, tun2socks
-, cloak
-, shadowsocks-libev
-, wireguard-go
-, xray
-, qtbase
-, wrapQtAppsHook
-, qtremoteobjects
-, qtsvg
-, qttools
-, qt5compat
-, qtkeychain
-}:
-
-stdenv.mkDerivation rec {
- pname = "amnezia-client";
- version = "4.4.0.0";
-
- src = fetchFromGitHub {
- repo = "${pname}";
- owner = "amnezia-vpn";
-
- rev = "${version}";
- sha256 = "0k0sjf1c8iqg9crq4sfzdg4cczaq5pbk5j2873yzsw88rps0awac";
- fetchSubmodules = true;
- };
-
- nativeBuildInputs = [
- cmake
- wrapQtAppsHook
- pkg-config
- ];
-
- buildInputs = [
- qtbase
- qtremoteobjects
- qtsvg
- qttools
- qt5compat
- qtkeychain
- libsecret
- libgcrypt
- openssl
- openvpn
- tun2socks
- cloak
- shadowsocks-libev
- wireguard-go
- xray
- ];
-
- installPhase = ''
- runHook preInstall
- make install
- mkdir $out/bin
- mkdir -p $out/usr/share/{pixmaps,applications}
- cp client/AmneziaVPN $out/bin/
- cp service/server/AmneziaVPN-service $out/bin/
- runHook postInstall
- '';
-}