openresolv: Fetch source from GitHub
This commit is contained in:
parent
5a907fd122
commit
5dc750a92b
1 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,14 @@
|
|||
{ lib, stdenv, fetchurl, makeWrapper, coreutils }:
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, coreutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "openresolv";
|
||||
version = "3.12.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://roy/openresolv/${pname}-${version}.tar.xz";
|
||||
sha256 = "sha256-QrMFCOhXoihTXGMeqsk2hi2G7KaMFLXAvzh7oXa5G5c=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "NetworkConfiguration";
|
||||
repo = "openresolv";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-lEyqOf2NGWnH44pDVNVSWZeuhXx7z0ru4KuXu2RuyIg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
|
Loading…
Reference in a new issue