pkgs/development/libraries: stdenv.lib -> lib
This commit is contained in:
committed by
Jonathan Ringer
parent
046d24424e
commit
66e44425c6
@@ -1,4 +1,4 @@
|
||||
{ stdenv, unzip, fetchurl }:
|
||||
{ lib, stdenv, unzip, fetchurl }:
|
||||
|
||||
# Upstream changes files in-place, to update:
|
||||
# 1. Check latest version at http://www.un4seen.com/
|
||||
@@ -55,7 +55,7 @@ let
|
||||
install -m644 -t $out/include/ ${bass.h}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Shareware audio library";
|
||||
homepage = "https://www.un4seen.com/";
|
||||
license = licenses.unfreeRedistributable;
|
||||
@@ -63,4 +63,4 @@ let
|
||||
};
|
||||
};
|
||||
|
||||
in stdenv.lib.mapAttrs dropBass allBass
|
||||
in lib.mapAttrs dropBass allBass
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, libsndfile }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, libsndfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libbs2b";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://bs2b.sourceforge.net/";
|
||||
description = "Bauer stereophonic-to-binaural DSP library";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchFromBitbucket, cmake, removeReferencesTo }:
|
||||
{ lib, stdenv, fetchFromBitbucket, cmake, removeReferencesTo }:
|
||||
let
|
||||
version = "0.6.3";
|
||||
in stdenv.mkDerivation {
|
||||
pname = "libgme";
|
||||
inherit version;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A collection of video game music chip emulators";
|
||||
homepage = "https://bitbucket.org/mpyne/game-music-emu/overview";
|
||||
license = licenses.lgpl21;
|
||||
@@ -26,7 +26,7 @@ in stdenv.mkDerivation {
|
||||
# it doesn't.
|
||||
disallowedReferences = [ stdenv.cc.cc ];
|
||||
|
||||
postFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
postFixup = lib.optionalString stdenv.isLinux ''
|
||||
remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)"
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, glib, libsndfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libinstpatch";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
"-DLIB_SUFFIX=" # Install in $out/lib.
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.swamiproject.org/";
|
||||
description = "MIDI instrument patch files support library";
|
||||
license = licenses.lgpl21;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, zlib }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libmysofa";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = [ "-DBUILD_TESTS=OFF" "-DCODE_COVERAGE=OFF" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Reader for AES SOFA files to get better HRTFs";
|
||||
homepage = "https://github.com/hoene/libmysofa";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, autoreconfHook, glib, pkg-config }:
|
||||
{ lib, stdenv, fetchurl, autoreconfHook, glib, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "1.3";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
||||
buildInputs = [ glib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A C library for reading and writing Standard MIDI Files";
|
||||
homepage = "https://github.com/stump/libsmf";
|
||||
license = licenses.bsd2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, sratom, wafHook }:
|
||||
{ lib, stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, sratom, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lilv";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ serd sord sratom ];
|
||||
propagatedBuildInputs = [ lv2 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://drobilla.net/software/lilv";
|
||||
description = "A C library to make the use of LV2 plugins";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
|
||||
{ lib, stdenv, fetchurl, gtk2, libsndfile, pkg-config, python3, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lv2";
|
||||
@@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config wafHook ];
|
||||
buildInputs = [ gtk2 libsndfile python3 ];
|
||||
|
||||
wafConfigureFlags = stdenv.lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
|
||||
wafConfigureFlags = lib.optionals stdenv.isDarwin [ "--lv2dir=${placeholder "out"}/lib/lv2" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://lv2plug.in";
|
||||
description = "A plugin standard for audio systems";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python, wafHook }:
|
||||
{ lib, stdenv, fetchurl, boost, gtkmm2, lv2, pkg-config, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lvtk";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
"--boost-libs=${boost.out}/lib"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A set C++ wrappers around the LV2 C API";
|
||||
homepage = "https://lvtk.org/";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mbelib";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$PWD
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "P25 Phase 1 and ProVoice vocoder";
|
||||
homepage = https://github.com/szechyjs/mbelib;
|
||||
license = licenses.isc;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkg-config, python2, wafHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkg-config, python2, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ntk";
|
||||
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Fork of FLTK 1.3.0 with additional functionality";
|
||||
version = version;
|
||||
homepage = "http://non.tuxfamily.org/";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = with stdenv.lib.maintainers; [ magnetophon nico202 ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = with lib.maintainers; [ magnetophon nico202 ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, kissfft
|
||||
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-I${kissfft}/include/kissfft";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A C++ library of functions for DSP and Music Informatics purposes";
|
||||
homepage = "https://code.soundsoftware.ac.uk/projects/qm-dsp";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, boost, gtk2, pkg-config, python, wafHook }:
|
||||
{ lib, stdenv, fetchgit, boost, gtk2, pkg-config, python, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "raul";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config wafHook ];
|
||||
buildInputs = [ boost gtk2 python ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A C++ utility library primarily aimed at audio/musical applications";
|
||||
homepage = "http://drobilla.net/software/raul";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.1.0";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
./configure
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A set of C++ classes that provide a cross platform API for realtime audio input/output";
|
||||
homepage = "http://www.music.mcgill.ca/~gary/rtaudio/";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.0.0";
|
||||
@@ -24,8 +24,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A set of C++ classes that provide a cross platform API for realtime MIDI input/output";
|
||||
homepage = "http://www.music.mcgill.ca/~gary/rtmidi/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, wafHook }:
|
||||
{ lib, stdenv, fetchurl, lv2, pkg-config, python3, serd, sord, wafHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sratom";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config wafHook python3 ];
|
||||
buildInputs = [ lv2 serd sord ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://drobilla.net/software/sratom";
|
||||
description = "A library for serialising LV2 atoms to/from RDF";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
++ (lib.optionals withQt4 [ qt4 ])
|
||||
++ (lib.optionals withQt5 (with qt5; [ qtbase qttools ]));
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://drobilla.net/software/suil";
|
||||
description = "A lightweight C library for loading and wrapping LV2 plugin UIs";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# set VAMP_PATH ?
|
||||
# plugins availible on sourceforge and http://www.vamp-plugins.org/download.html (various licenses)
|
||||
|
||||
{ stdenv, fetchFromGitHub, pkg-config, libsndfile }:
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, libsndfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "vamp-plugin-sdk";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Audio processing plugin system for plugins that extract descriptive information from audio data";
|
||||
homepage = "https://vamp-plugins.org/";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl , alsaLib, }:
|
||||
{ lib, stdenv, fetchurl , alsaLib, }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zita-alsa-pcmi";
|
||||
@@ -57,8 +57,8 @@ stdenv.mkDerivation rec {
|
||||
description = "The successor of clalsadrv, provides easy access to ALSA PCM devices";
|
||||
version = version;
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fftwFloat }:
|
||||
{ lib, stdenv, fetchurl, fftwFloat }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zita-convolver";
|
||||
@@ -22,15 +22,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postInstall = ''
|
||||
# create lib link for building apps
|
||||
ln -s $out/lib/libzita-convolver.so.${version} $out/lib/libzita-convolver.so.${stdenv.lib.versions.major version}
|
||||
ln -s $out/lib/libzita-convolver.so.${version} $out/lib/libzita-convolver.so.${lib.versions.major version}
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Convolution library by Fons Adriaensen";
|
||||
version = version;
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "zita-resampler";
|
||||
@@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
|
||||
description = "Resample library by Fons Adriaensen";
|
||||
version = version;
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user