3
0
Fork 0
forked from mirrors/nixpkgs

vaapi-intel-hybrid: switch to fetchFromGitHub

This commit is contained in:
Felix Buehler 2021-11-01 15:58:11 +01:00
parent 1a54992c09
commit 258b28b03e

View file

@ -1,12 +1,14 @@
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, cmrt, libdrm, libva, libX11, libGL, wayland }:
{ lib, stdenv, fetchurl, fetchFromGitHub, autoreconfHook, pkg-config, cmrt, libdrm, libva, libX11, libGL, wayland }:
stdenv.mkDerivation rec {
pname = "intel-hybrid-driver";
version = "1.0.2";
src = fetchurl {
url = "https://github.com/01org/intel-hybrid-driver/archive/${version}.tar.gz";
sha256 = "0ywdhbvzwzzrq4qhylnw1wc8l3j67h26l0cs1rncwhw05s3ndk8n";
src = fetchFromGitHub {
owner = "01org";
repo = "intel-hybrid-driver";
rev = version;
sha256 = "sha256-uYX7RoU1XVzcC2ea3z/VBjmT47xmzK67Y4LaiFXyJZ8=";
};
patches = [