easyrsa2: switch to fetchFromGitHub
This commit is contained in:
parent
e2b2136d63
commit
ea1ac9af24
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, makeWrapper
|
||||
, gnugrep
|
||||
|
@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
|
|||
pname = "easyrsa";
|
||||
version = "2.2.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/OpenVPN/easy-rsa/archive/v${version}.tar.gz";
|
||||
sha256 = "1xq4by5frb6ikn53ss3y8v7ss639dccxfq8jfrbk07ynkmk668qk";
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenVPN";
|
||||
repo = "easy-rsa";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-zTdk8mv+gC/SHK813wZ6CWZf9Jm2XkKfAPU3feFpAkY=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
|
|
Loading…
Reference in a new issue