cmrt: switch to fetchFromGitHub
This commit is contained in:
parent
2636c81023
commit
fe3f5d3447
1 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,14 @@
|
|||
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config, libdrm, libva }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, libdrm, libva }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cmrt";
|
||||
version = "1.0.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/intel/cmrt/archive/${version}.tar.gz";
|
||||
sha256 = "1q7651nvvcqhph5rgfhklm71zqd0c405mrh3wx0cfzvil82yj8na";
|
||||
src = fetchFromGitHub {
|
||||
owner = "intel";
|
||||
repo = "cmrt";
|
||||
rev = version;
|
||||
sha256 = "sha256-W6MQI41J9CKeM1eILCkvmW34cbCC8YeEF2mE+Ci8o7s=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
|
|
Loading…
Reference in a new issue