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, pkg-config, telepathy-glib, farstream, dbus-glib }:
{ lib, stdenv, fetchurl, pkg-config, telepathy-glib, farstream, dbus-glib }:
stdenv.mkDerivation rec {
name = "${pname}-0.6.2";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ dbus-glib telepathy-glib farstream ];
nativeBuildInputs = [ pkg-config ];
meta = with stdenv.lib; {
meta = with lib; {
description = "GObject-based C library that uses Telepathy GLib, Farstream and GStreamer to handle the media streaming part of channels of type Call";
homepage = "https://telepathy.freedesktop.org/wiki/Components/Telepathy-Farstream/";
platforms = platforms.linux;
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, dbus-glib, glib, python2, pkg-config, libxslt
{ lib, stdenv, fetchurl, dbus-glib, glib, python2, pkg-config, libxslt
, gobject-introspection, vala, glibcLocales }:
stdenv.mkDerivation rec {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
passthru.python = python2;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://telepathy.freedesktop.org";
platforms = platforms.unix;
license = with licenses; [ bsd2 bsd3 lgpl21Plus ];
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, qtbase, pkg-config, python3Packages, dbus-glib, dbus
{ lib, stdenv, fetchurl, cmake, qtbase, pkg-config, python3Packages, dbus-glib, dbus
, telepathy-farstream, telepathy-glib, fetchpatch }:
let
@@ -18,11 +18,11 @@ in stdenv.mkDerivation rec {
# No point in building tests if they are not run
# On 0.9.7, they do not even build with QT4
cmakeFlags = stdenv.lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
cmakeFlags = lib.optional (!doCheck) "-DENABLE_TESTS=OFF";
doCheck = false; # giving up for now
meta = with stdenv.lib; {
meta = with lib; {
description = "Telepathy Qt bindings";
homepage = "https://telepathy.freedesktop.org/components/telepathy-qt/";
license = licenses.lgpl21;