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