add proper wireguard source

This commit is contained in:
Osman Faruk Bayram 2025-04-15 19:37:22 +03:00
parent a6c0b72ae2
commit dc819cd558

View file

@ -7,13 +7,11 @@
stdenv.mkDerivation rec {
name = "wireguard";
version = "1.0.20231018";
src = pkgs.fetchgit {
url = "https://git.zx2c4.com/wireguard-android";
tag = "v${version}";
hash = "";
src = pkgs.fetchzip {
url = "https://git.zx2c4.com/wireguard-android/snapshot/wireguard-android-${version}.tar.xz";
sha256 = "sha256-09bXYljoXvwHn3QkzBjQHsIbvXrCzBceUSXVRRc8q8g=";
};
nativeBuildInputs = [
pkgs.yarn
];