badvpn: switch to fetchFromGitHub
This commit is contained in:
parent
cb055cea99
commit
dcbef734c6
1 changed files with 8 additions and 4 deletions
|
@ -1,12 +1,16 @@
|
|||
{ lib, stdenv, fetchurl, cmake, openssl, nss, pkg-config, nspr, bash, debug ? false }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, openssl, nss, pkg-config, nspr, bash, debug ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "badvpn";
|
||||
version = "1.999.130";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ambrop72/badvpn/archive/${version}.tar.gz";
|
||||
sha256 = "sha256-v9S7/r1ydLzseSVYyaL9YOOc2S4EZzglreXQQVR2YQk=";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ambrop72";
|
||||
repo = "badvpn";
|
||||
rev = version;
|
||||
sha256 = "sha256-bLTDpq3ohUP+KooPvhv1/AZfdo0HwB3g9QOuE2E/pmY=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [
|
||||
openssl
|
||||
|
|
Loading…
Reference in a new issue