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
{ lib, stdenv
, fetchurl
, fetchpatch
, meson
@@ -86,7 +86,7 @@
assert faacSupport -> faac != null;
let
inherit (stdenv.lib) optional optionals;
inherit (lib) optional optionals;
in stdenv.mkDerivation rec {
pname = "gst-plugins-bad";
version = "1.18.2";
@@ -293,7 +293,7 @@ in stdenv.mkDerivation rec {
doCheck = false; # fails 20 out of 58 tests, expensive
meta = with stdenv.lib; {
meta = with lib; {
description = "GStreamer Bad Plugins";
homepage = "https://gstreamer.freedesktop.org";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, meson
, ninja
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
"-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Integration testing infrastructure for the GStreamer framework";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, meson
, ninja
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
scripts/extract-release-date-from-doap-file.py
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Library for creation of audio/video non-linear editors";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl2Plus;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, meson
, nasm
@@ -47,7 +47,7 @@ assert gtkSupport -> gtk3 != null;
assert raspiCameraSupport -> ((libraspberrypi != null) && stdenv.isLinux && stdenv.isAarch64);
let
inherit (stdenv.lib) optionals;
inherit (lib) optionals;
in
stdenv.mkDerivation rec {
pname = "gst-plugins-good";
@@ -150,7 +150,7 @@ stdenv.mkDerivation rec {
# fails 1 tests with "Unexpected critical/warning: g_object_set_is_valid_property: object class 'GstRtpStorage' has no property named ''"
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "GStreamer Good Plugins";
homepage = "https://gstreamer.freedesktop.org";
longDescription = ''
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, pkg-config, file, glibmm, gst_all_1, gnome3 }:
{ lib, stdenv, fetchurl, pkg-config, file, glibmm, gst_all_1, gnome3 }:
stdenv.mkDerivation rec {
pname = "gstreamermm";
version = "1.10.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0q4dx9sncqbwgpzma0zvj6zssc279yl80pn8irb95qypyyggwn5y";
};
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
};
};
meta = with stdenv.lib; {
meta = with lib; {
description = "C++ interface for GStreamer";
homepage = "https://gstreamer.freedesktop.org/bindings/cplusplus.html";
license = licenses.lgpl21Plus;
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, meson
, ninja
@@ -61,7 +61,7 @@ stdenv.mkDerivation rec {
scripts/extract-release-date-from-doap-file.py
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "GStreamer RTSP server";
homepage = "https://gstreamer.freedesktop.org";
longDescription = ''
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, meson
, ninja
@@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
scripts/extract-release-date-from-doap-file.py
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Set of VAAPI GStreamer Plug-ins";
homepage = "https://gstreamer.freedesktop.org";
license = licenses.lgpl21Plus;