bbswitch: switch to fetchFromGitHub
This commit is contained in:
parent
3722e4fbcc
commit
2653630f27
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, kernel, runtimeShell }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, kernel, runtimeShell }:
|
||||
|
||||
let
|
||||
baseName = "bbswitch";
|
||||
@ -10,9 +10,11 @@ in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Bumblebee-Project/${baseName}/archive/v${version}.tar.gz";
|
||||
sha256 = "0xql1nv8dafnrcg54f3jsi3ny3cd2ca9iv73pxpgxd2gfczvvjkn";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Bumblebee-Project";
|
||||
repo = "bbswitch";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-FHC8myKnouNDERVds2QCJj1ZstjHrOzFpb+FDiSBjL4=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
|
Loading…
Reference in New Issue
Block a user