libcec: switch to fetchFromGitHub
This commit is contained in:
parent
dc2909ec58
commit
0c8ea70368
1 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,14 @@
|
||||||
{ lib, stdenv, fetchurl, cmake, pkg-config, udev, libcec_platform, libraspberrypi ? null }:
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, udev, libcec_platform, libraspberrypi ? null }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libcec";
|
pname = "libcec";
|
||||||
version = "6.0.2";
|
version = "6.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz";
|
owner = "Pulse-Eight";
|
||||||
sha256 = "0xrkrcgfgr5r8r0854bw3i9jbq4jmf8nzc5vrrx2sxzvlkbrc1h9";
|
repo = "libcec";
|
||||||
|
rev = "libcec-${version}";
|
||||||
|
sha256 = "sha256-OWqCn7Z0KG8sLlfMWd0btJIFJs79ET3Y1AV/y/Kj2TU=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config cmake ];
|
nativeBuildInputs = [ pkg-config cmake ];
|
||||||
|
|
Loading…
Reference in a new issue