pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, pkg-config, udev, libcec_platform, libraspberrypi ? null }:
{ lib, stdenv, fetchurl, cmake, pkg-config, udev, libcec_platform, libraspberrypi ? null }:
let version = "4.0.7"; in
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkg-config cmake ];
buildInputs = [ udev libcec_platform ] ++
stdenv.lib.optional (libraspberrypi != null) libraspberrypi;
lib.optional (libraspberrypi != null) libraspberrypi;
cmakeFlags = [ "-DBUILD_SHARED_LIBS=1" ];
@@ -22,11 +22,11 @@ stdenv.mkDerivation {
substituteInPlace include/cecloader.h --replace "libcec.so" "$out/lib/libcec.so"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Allows you (with the right hardware) to control your device with your TV remote control using existing HDMI cabling";
homepage = "http://libcec.pulse-eight.com";
repositories.git = "https://github.com/Pulse-Eight/libcec.git";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.titanous ];
};
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake }:
{ lib, stdenv, fetchurl, cmake }:
let version = "2.1.0.1"; in
@@ -13,11 +13,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Platform library for libcec and Kodi addons";
homepage = "https://github.com/Pulse-Eight/platform";
repositories.git = "https://github.com/Pulse-Eight/platform.git";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.titanous ];
};