Fix stdenv.lib deprecation

This commit is contained in:
EEva (JPotier) 2021-04-02 12:00:01 +03:00
parent d58475f1d6
commit 47f5d882e4
6 changed files with 13 additions and 12 deletions

View File

@ -1,11 +1,11 @@
{ stdenv, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, jack2,
{ stdenv, lib, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, jack2,
liblo, libpulseaudio, libsndfile, pkgconfig, python3Packages,
which, withFrontend ? true,
withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
withGtk2 ? true, gtk2 ? null,
withGtk3 ? true, gtk3 ? null }:
with stdenv.lib;
with lib;
assert withFrontend -> python3Packages ? pyqt5;
assert withQt -> qtbase != null;
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = http://kxstudio.sf.net/carla;
description = "An audio plugin host";
longDescription = ''

View File

@ -1,4 +1,4 @@
{stdenv, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
{stdenv, lib, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
stdenv.mkDerivation rec {
name = "curie-1.0";
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
mkfontscale
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A slightly upscaled version of scientifica";
homepage = https://github.com/NerdyPepper/curie;
license = lib.licences.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, python3Packages, mopidy }:
{ stdenv, lib, python3Packages, mopidy }:
python3Packages.buildPythonApplication rec {
pname = "Mopidy-MPD";
@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
# no tests implemented
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = https://github.com/mopidy/mopidy-mpd;
description = "Mopidy extension for controlling playback from MPD clients";
license = licenses.asl20;

View File

@ -1,4 +1,4 @@
{stdenv, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
{stdenv, lib, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
stdenv.mkDerivation rec {
name = "scientifica-1.0";
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
mkfontscale
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Tall, condensed, bitmap font for geeks";
homepage = https://github.com/NerdyPepper/scientifica;
license = licences.ofl;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchzip, unzip
{ stdenv, lib, fetchFromGitHub, fetchzip, unzip
, alsaLib, astyle, clang, freetype, gnumake, libjack2, xorg
}:
@ -79,7 +79,7 @@ in stdenv.mkDerivation rec {
xorg.libXrandr
];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.mzuther.de/en/software/squeezer";
description = "Flexible general-purpose audio compressor with a touch of citrus";
maintainers = [ maintainers.jpotier ];

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, cmake
, fetchFromGitHub
, ncurses
@ -75,7 +76,7 @@ in stdenv.mkDerivation {
cp -r target/lv2/Release/Surge.lv2 $out/lib/lv2/
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Synthesizer plug-in with wavetables, originally by Claes Johanson";
homepage = "https://surge-synthesizer.github.io";