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 {
|
||||
pname = "libcec";
|
||||
version = "6.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/Pulse-Eight/libcec/archive/libcec-${version}.tar.gz";
|
||||
sha256 = "0xrkrcgfgr5r8r0854bw3i9jbq4jmf8nzc5vrrx2sxzvlkbrc1h9";
|
||||
src = fetchFromGitHub {
|
||||
owner = "Pulse-Eight";
|
||||
repo = "libcec";
|
||||
rev = "libcec-${version}";
|
||||
sha256 = "sha256-OWqCn7Z0KG8sLlfMWd0btJIFJs79ET3Y1AV/y/Kj2TU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
|
|
Loading…
Reference in a new issue