Fix stdenv.lib deprecation
This commit is contained in:
parent
d58475f1d6
commit
47f5d882e4
6 changed files with 13 additions and 12 deletions
|
@ -1,11 +1,11 @@
|
||||||
{ stdenv, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, jack2,
|
{ stdenv, lib, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, jack2,
|
||||||
liblo, libpulseaudio, libsndfile, pkgconfig, python3Packages,
|
liblo, libpulseaudio, libsndfile, pkgconfig, python3Packages,
|
||||||
which, withFrontend ? true,
|
which, withFrontend ? true,
|
||||||
withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
|
withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
|
||||||
withGtk2 ? true, gtk2 ? null,
|
withGtk2 ? true, gtk2 ? null,
|
||||||
withGtk3 ? true, gtk3 ? null }:
|
withGtk3 ? true, gtk3 ? null }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with lib;
|
||||||
|
|
||||||
assert withFrontend -> python3Packages ? pyqt5;
|
assert withFrontend -> python3Packages ? pyqt5;
|
||||||
assert withQt -> qtbase != null;
|
assert withQt -> qtbase != null;
|
||||||
|
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = http://kxstudio.sf.net/carla;
|
homepage = http://kxstudio.sf.net/carla;
|
||||||
description = "An audio plugin host";
|
description = "An audio plugin host";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
|
{stdenv, lib, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "curie-1.0";
|
name = "curie-1.0";
|
||||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||||
mkfontscale
|
mkfontscale
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "A slightly upscaled version of scientifica";
|
description = "A slightly upscaled version of scientifica";
|
||||||
homepage = https://github.com/NerdyPepper/curie;
|
homepage = https://github.com/NerdyPepper/curie;
|
||||||
license = lib.licences.ofl;
|
license = lib.licences.ofl;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, python3Packages, mopidy }:
|
{ stdenv, lib, python3Packages, mopidy }:
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "Mopidy-MPD";
|
pname = "Mopidy-MPD";
|
||||||
|
@ -14,7 +14,7 @@ python3Packages.buildPythonApplication rec {
|
||||||
# no tests implemented
|
# no tests implemented
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = https://github.com/mopidy/mopidy-mpd;
|
homepage = https://github.com/mopidy/mopidy-mpd;
|
||||||
description = "Mopidy extension for controlling playback from MPD clients";
|
description = "Mopidy extension for controlling playback from MPD clients";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{stdenv, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
|
{stdenv, lib, fetchgit, bdftopcf, mkfontdir, mkfontscale}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "scientifica-1.0";
|
name = "scientifica-1.0";
|
||||||
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||||
mkfontscale
|
mkfontscale
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
description = "Tall, condensed, bitmap font for geeks";
|
description = "Tall, condensed, bitmap font for geeks";
|
||||||
homepage = https://github.com/NerdyPepper/scientifica;
|
homepage = https://github.com/NerdyPepper/scientifica;
|
||||||
license = licences.ofl;
|
license = licences.ofl;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, fetchzip, unzip
|
{ stdenv, lib, fetchFromGitHub, fetchzip, unzip
|
||||||
, alsaLib, astyle, clang, freetype, gnumake, libjack2, xorg
|
, alsaLib, astyle, clang, freetype, gnumake, libjack2, xorg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -79,7 +79,7 @@ in stdenv.mkDerivation rec {
|
||||||
xorg.libXrandr
|
xorg.libXrandr
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
homepage = "http://www.mzuther.de/en/software/squeezer";
|
homepage = "http://www.mzuther.de/en/software/squeezer";
|
||||||
description = "Flexible general-purpose audio compressor with a touch of citrus";
|
description = "Flexible general-purpose audio compressor with a touch of citrus";
|
||||||
maintainers = [ maintainers.jpotier ];
|
maintainers = [ maintainers.jpotier ];
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
|
, lib
|
||||||
, cmake
|
, cmake
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, ncurses
|
, ncurses
|
||||||
|
@ -75,7 +76,7 @@ in stdenv.mkDerivation {
|
||||||
cp -r target/lv2/Release/Surge.lv2 $out/lib/lv2/
|
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";
|
description = "Synthesizer plug-in with wavetables, originally by Claes Johanson";
|
||||||
homepage = "https://surge-synthesizer.github.io";
|
homepage = "https://surge-synthesizer.github.io";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue