mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
treewide: stdenv.lib -> lib
This commit is contained in:
parent
a9bb54359e
commit
badf51221d
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
version = "3.32.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 = "005fhmvb45sa9mq17dpa23n1xnspiissx5rnpiy7hiqmy3g5rg8f";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, ladspaH
|
||||
{ lib, stdenv, fetchurl, ladspaH
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -26,8 +26,8 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
version = version;
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, ladspaH
|
||||
{ lib, stdenv, fetchurl, ladspaH
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
version = version;
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, makeWrapper, python3, alsaUtils, timidity }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, python3, alsaUtils, timidity }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "20.12";
|
||||
|
@ -62,8 +62,8 @@
|
|||
meta = {
|
||||
description = "Creates MIDI tracks for a soloist to perform over from a user supplied file containing chords";
|
||||
homepage = "https://www.mellowood.ca/mma/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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ in
|
|||
for cmd in abcde cddb-tool abcde-musicbrainz-tool; do
|
||||
wrapProgram "$out/bin/$cmd" \
|
||||
--prefix PERL5LIB : "$PERL5LIB" \
|
||||
--prefix PATH ":" ${stdenv.lib.makeBinPath [
|
||||
--prefix PATH ":" ${lib.makeBinPath [
|
||||
"$out" which libcdio-paranoia cddiscid wget
|
||||
vorbis-tools id3v2 eyeD3 lame flac glyr
|
||||
]}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsaLib, libjack2
|
||||
{ lib, stdenv, fetchurl, libclthreads, zita-alsa-pcmi, alsaLib, libjack2
|
||||
, libclxclient, libX11, libXft, readline
|
||||
}:
|
||||
|
||||
|
@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Synthetized (not sampled) pipe organ emulator";
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/aeolus/index.html";
|
||||
license = stdenv.lib.licenses.lgpl3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
||||
license = lib.licenses.lgpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.nico202 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ let
|
|||
};
|
||||
nativeBuildInputs = [ unzip ];
|
||||
installPhase = "cp -r . $out";
|
||||
meta.license = stdenv.lib.licenses.unfree;
|
||||
meta.license = lib.licenses.unfree;
|
||||
};
|
||||
|
||||
wine-wow64 = wine.override {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, gettext, gtk3, intltool,
|
||||
{ lib, stdenv, fetchurl, pkgconfig, gettext, gtk3, intltool,
|
||||
wrapGAppsHook, libxml2, curl, mpd_clientlib, dbus-glib,
|
||||
libsoup, avahi, taglib
|
||||
}:
|
||||
|
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "GTK client for MPD (Music player daemon)";
|
||||
homepage = "http://ario-player.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.garrison ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.garrison ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, makeWrapper, gtk2, libcddb, intltool, pkgconfig, cdparanoia
|
||||
{ lib, stdenv, fetchurl, makeWrapper, gtk2, libcddb, intltool, pkgconfig, cdparanoia
|
||||
, mp3Support ? false, lame
|
||||
, oggSupport ? true, vorbis-tools
|
||||
, flacSupport ? true, flac
|
||||
|
@ -9,7 +9,7 @@
|
|||
#, aacSupport ? false, TODO: neroAacEnc
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.9.7";
|
||||
|
|
|
@ -10,14 +10,14 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ sndio ]
|
||||
++ stdenv.lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD)
|
||||
++ lib.optional (!stdenv.isDarwin && !stdenv.targetPlatform.isBSD)
|
||||
libbsd;
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
preBuild = ''
|
||||
makeFlagsArray+=("PREFIX=$out")
|
||||
'' + stdenv.lib.optionalString
|
||||
'' + lib.optionalString
|
||||
(!stdenv.isDarwin && !stdenv.targetPlatform.isBSD) ''
|
||||
makeFlagsArray+=(LDADD="-lsndio -lbsd")
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
|||
glib dbus gtk3 librsvg libappindicator-gtk3
|
||||
] ++ (with gst_all_1; [
|
||||
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav
|
||||
]) ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||
]) ++ lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Audio recorder for GNOME and Unity Desktops";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, gettext, ncurses
|
||||
{lib, stdenv, fetchurl, gettext, ncurses
|
||||
, gtkGUI ? false
|
||||
, pkgconfig ? null
|
||||
, gtk2 ? null}:
|
||||
|
@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
|
|||
the command line or a script.
|
||||
'';
|
||||
homepage = "http://www.jpj.net/~trevor/aumix.html";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ pkgconfig ];
|
||||
propagatedBuildInputs =
|
||||
stdenv.lib.optional stdenv.isLinux systemd ++
|
||||
stdenv.lib.optionals stdenv.isDarwin [ libobjc IOKit ];
|
||||
lib.optional stdenv.isLinux systemd ++
|
||||
lib.optionals stdenv.isDarwin [ libobjc IOKit ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
|
@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
|
|||
})
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
preFixup = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
preFixup = lib.optionalString stdenv.isLinux ''
|
||||
sed 's,-ludev,-L${lib.getLib systemd}/lib -ludev,' -i $out/lib/libusb-1.0.la
|
||||
'';
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
}:
|
||||
let
|
||||
|
||||
inherit (stdenv.lib) optional optionals;
|
||||
inherit (lib) optional optionals;
|
||||
|
||||
in
|
||||
mkDerivation rec {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
rpath = stdenv.lib.makeLibraryPath
|
||||
rpath = lib.makeLibraryPath
|
||||
[ libXmu libXt libX11 libXext libXxf86vm libjack2 ];
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
|
@ -98,8 +98,8 @@ mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "https://github.com/falkTX/Cadence/";
|
||||
description = "Collection of tools useful for audio production";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ worldofpeace ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ worldofpeace ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "caps";
|
||||
version = "0.9.26";
|
||||
|
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
|||
resource demands and meaningful control interfaces.
|
||||
'';
|
||||
homepage = "http://www.quitte.de/dsp/caps.html";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.astsmtl ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
withGtk2 ? true, gtk2 ? null,
|
||||
withGtk3 ? true, gtk3 ? null }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
assert withFrontend -> python3Packages ? pyqt5;
|
||||
assert withQt -> qtbase != null;
|
||||
|
|
|
@ -25,8 +25,8 @@ stdenv.mkDerivation {
|
|||
|
||||
postFixup = ''
|
||||
for executable in $(cd $out/bin && ls); do
|
||||
wrapProgram $out/bin/$executable \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ bc findutils sox procps opusTools lame flac ]}"
|
||||
wrapProgram $out/bin/$executable \
|
||||
--prefix PATH : "${lib.makeBinPath [ bc findutils sox procps opusTools lame flac ]}"
|
||||
done
|
||||
'';
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
|||
installFlags = [ "PREFIX=$(out)" "INSTALL=install" ];
|
||||
|
||||
buildInputs = []
|
||||
++ stdenv.lib.optional stdenv.isDarwin IOKit;
|
||||
++ lib.optional stdenv.isDarwin IOKit;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://linukz.org/cd-discid.shtml";
|
||||
|
|
|
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1pv4zrajm46za0f6lv162iqffih57a8ly4pc69f7y0gfyigb8p80";
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
(fetchurl {
|
||||
url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch";
|
||||
sha256 = "1n86kzm2ssl8fdf5wlhp6ncb2bf6b9xlb5vg0mhc85r69prqzjiy";
|
||||
|
@ -17,19 +17,19 @@ stdenv.mkDerivation rec {
|
|||
url = "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff";
|
||||
sha256 = "17l2qhn8sh4jy6ryy5si6ll6dndcm0r537rlmk4a6a8vkn852vad";
|
||||
})
|
||||
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./utils.patch
|
||||
] ++ lib.optional stdenv.hostPlatform.isMusl ./utils.patch
|
||||
++ [./fix_private_keyword.patch];
|
||||
|
||||
nativeBuildInputs = stdenv.lib.optional stdenv.isAarch64 autoreconfHook;
|
||||
nativeBuildInputs = lib.optional stdenv.isAarch64 autoreconfHook;
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [
|
||||
propagatedBuildInputs = lib.optionals stdenv.isDarwin [
|
||||
Carbon
|
||||
IOKit
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
preConfigure = "unset CC" + stdenv.lib.optionalString stdenv.isAarch64 '';
|
||||
preConfigure = "unset CC" + lib.optionalString stdenv.isAarch64 '';
|
||||
cp ${gnu-config}/config.sub configure.sub
|
||||
cp ${gnu-config}/config.guess configure.guess
|
||||
'';
|
||||
|
|
|
@ -48,10 +48,10 @@ let
|
|||
sqlite
|
||||
taglib
|
||||
]
|
||||
++ stdenv.lib.optionals (withIpod) [libgpod libplist usbmuxd]
|
||||
++ stdenv.lib.optionals (withMTP) [libmtp]
|
||||
++ stdenv.lib.optionals (withCD) [libcdio]
|
||||
++ stdenv.lib.optionals (withCloud) [sparsehash];
|
||||
++ lib.optionals (withIpod) [libgpod libplist usbmuxd]
|
||||
++ lib.optionals (withMTP) [libmtp]
|
||||
++ lib.optionals (withCD) [libcdio]
|
||||
++ lib.optionals (withCloud) [sparsehash];
|
||||
|
||||
postPatch = ''
|
||||
sed -i src/CMakeLists.txt \
|
||||
|
|
|
@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
|||
installPhase = ''
|
||||
DESTDIR=$out PREFIX=/ make install
|
||||
wrapProgram $out/bin/clerk \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ rofi mpc_cli perl util-linux libnotify ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ rofi mpc_cli perl util-linux libnotify ]}"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#, vtxSupport ? true, libayemu ? null
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
assert samplerateSupport -> jackSupport;
|
||||
|
||||
|
@ -120,8 +120,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ncurses ]
|
||||
++ stdenv.lib.optional stdenv.cc.isClang clangGCC
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ libiconv CoreAudio ]
|
||||
++ lib.optional stdenv.cc.isClang clangGCC
|
||||
++ lib.optionals stdenv.isDarwin [ libiconv CoreAudio ]
|
||||
++ flatten (concatMap (a: a.deps) opts);
|
||||
|
||||
makeFlags = [ "LD=$(CC)" ];
|
||||
|
|
|
@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
|||
+ Inside cmus run `:set status_display_program=cmusfm` to set up cmusfm
|
||||
'';
|
||||
homepage = "https://github.com/Arkq/cmusfm/";
|
||||
maintainers = with stdenv.lib.maintainers; [ CharlesHD ];
|
||||
maintainers = with lib.maintainers; [ CharlesHD ];
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
|||
, which
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "crip-3.9";
|
||||
|
@ -60,8 +60,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "http://bach.dynet.com/crip/";
|
||||
description = "Terminal-based ripper/encoder/tagger tool for creating Ogg Vorbis/FLAC files";
|
||||
license = stdenv.lib.licenses.gpl1;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl1;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ maintainers.endgame ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
stdenv, fetchFromGitHub, docbook_xsl,
|
||||
lib, stdenv, fetchFromGitHub, docbook_xsl,
|
||||
docbook_xml_dtd_45, python, pygments,
|
||||
libxslt
|
||||
}:
|
||||
|
@ -37,8 +37,8 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "The Csound Canonical Reference Manual";
|
||||
homepage = "https://github.com/csound/manual";
|
||||
license = stdenv.lib.licenses.fdl12Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.hlolli ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.fdl12Plus;
|
||||
maintainers = [ lib.maintainers.hlolli ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
cmakeFlags = [ "-DBUILD_CSOUND_AC=0" ] # fails to find Score.hpp
|
||||
++ stdenv.lib.optional (libjack2 != null) "-DJACK_HEADER=${libjack2}/include/jack/jack.h";
|
||||
++ lib.optional (libjack2 != null) "-DJACK_HEADER=${libjack2}/include/jack/jack.h";
|
||||
|
||||
nativeBuildInputs = [ cmake flex bison gettext ];
|
||||
buildInputs = [ libsndfile libsamplerate boost ]
|
||||
|
|
|
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "161b0ll8v4cjgwwmk137hzvh0jidlkx56vjkpnr70f0x4jzv2nll";
|
||||
};
|
||||
|
||||
buildInputs = with stdenv.lib; [ jansson ]
|
||||
buildInputs = with lib; [ jansson ]
|
||||
++ optional gtk2Support gtk2
|
||||
++ optionals gtk3Support [ gtk3 gsettings-desktop-schemas ]
|
||||
++ optional vorbisSupport libvorbis
|
||||
|
@ -98,7 +98,7 @@ stdenv.mkDerivation rec {
|
|||
intltool
|
||||
libtool
|
||||
pkgconfig
|
||||
] ++ stdenv.lib.optional gtk3Support wrapGAppsHook;
|
||||
] ++ lib.optional gtk3Support wrapGAppsHook;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ in stdenv.mkDerivation rec {
|
|||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
||||
sha256 = "1mbxnqrw1fwcgraa1bgik25vdzvf97vma5pzknbwbqq5ly9fwlgw";
|
||||
};
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, alsaLib
|
||||
|
@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
meta = {
|
||||
description = "Software package designed for multitrack audio processing";
|
||||
license = with stdenv.lib.licenses; [ gpl2 lgpl21 ];
|
||||
license = with lib.licenses; [ gpl2 lgpl21 ];
|
||||
homepage = "http://nosignal.fi/ecasound/";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, fetchpatch, flite, alsaLib, debug ? false }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, flite, alsaLib, debug ? false }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eflite";
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
|||
./format.patch
|
||||
];
|
||||
|
||||
CFLAGS = stdenv.lib.optionalString debug " -DDEBUG=2";
|
||||
CFLAGS = lib.optionalString debug " -DDEBUG=2";
|
||||
|
||||
meta = {
|
||||
homepage = "http://eflite.sourceforge.net";
|
||||
|
@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
|
|||
a free text-to-speech engine developed at the CMU Speech
|
||||
Center as an off-shoot of Festival.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ jhhuh ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ jhhuh ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
|
|||
sha256 = "0ym6lpcpsvwvsiwlzkl1509a2hljwcw7synngrmqjq1n49ww00nj";
|
||||
};
|
||||
|
||||
preConfigure = with stdenv.lib; ''
|
||||
preConfigure = with lib; ''
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE ${optionalString stdenv.is64bit "-D_x86_64"}"
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -DEKHO_DATA_PATH=\"$out/share/ekho-data\""
|
||||
'';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkg-config
|
||||
{ lib, stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkg-config
|
||||
, xorg }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "eq10q";
|
||||
|
@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
|
|||
Nice GUI with powerful metering for every plugin.
|
||||
'';
|
||||
homepage = "http://eq10q.sourceforge.net/";
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
-e "s|@prefix@|$out|" \
|
||||
-i "$file"
|
||||
done
|
||||
'' + stdenv.lib.optionalString (portaudio.api_version == 19) ''
|
||||
'' + lib.optionalString (portaudio.api_version == 19) ''
|
||||
cp src/portaudio19.h src/portaudio.h
|
||||
'';
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
, pkgconfig
|
||||
}:
|
||||
|
||||
with stdenv.lib.strings;
|
||||
with lib.strings;
|
||||
|
||||
let
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
, which
|
||||
}:
|
||||
|
||||
with stdenv.lib.strings;
|
||||
with lib.strings;
|
||||
|
||||
let
|
||||
|
||||
|
@ -173,7 +173,7 @@ let
|
|||
|
||||
propagatedBuildInputs = [ faust ] ++ propagatedBuildInputs;
|
||||
|
||||
libPath = stdenv.lib.makeLibraryPath propagatedBuildInputs;
|
||||
libPath = lib.makeLibraryPath propagatedBuildInputs;
|
||||
|
||||
postFixup = ''
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, mkDerivation, fetchFromGitHub, fftw, qtbase, qtmultimedia, qmake, itstool, wrapQtAppsHook
|
||||
{ lib, stdenv, mkDerivation, fetchFromGitHub, fftw, qtbase, qtmultimedia, qmake, itstool, wrapQtAppsHook
|
||||
, alsaSupport ? true, alsaLib ? null
|
||||
, jackSupport ? false, libjack2 ? null
|
||||
, portaudioSupport ? false, portaudio ? null }:
|
||||
|
@ -7,7 +7,7 @@ assert alsaSupport -> alsaLib != null;
|
|||
assert jackSupport -> libjack2 != null;
|
||||
assert portaudioSupport -> portaudio != null;
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "fmit";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }:
|
||||
{ lib, stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "fmsynth-unstable";
|
||||
version = "2015-02-07";
|
||||
|
@ -42,8 +42,8 @@ stdenv.mkDerivation {
|
|||
- Hard real-time constraints
|
||||
'';
|
||||
homepage = "https://github.com/Themaister/libfmsynth";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -45,8 +45,8 @@ stdenv.mkDerivation rec {
|
|||
'' ;
|
||||
|
||||
homepage = "http://freewheeling.sourceforge.net";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.sepi ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.sepi ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
# Adapt the linux-only CMakeLists to darwin (more reliable than make-macos.sh)
|
||||
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
sed -i -e 's@__LINUX_ALSA__@__MACOSX_CORE__@' -e 's@asound@@' CMakeLists.txt
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ SDL2 ]
|
||||
++ stdenv.lib.optional stdenv.isLinux alsaLib
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
++ lib.optional stdenv.isLinux alsaLib
|
||||
++ lib.optionals stdenv.isDarwin [
|
||||
libiconv
|
||||
CoreAudio
|
||||
CoreMIDI
|
||||
|
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
|
|||
Cocoa
|
||||
];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin [
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isDarwin [
|
||||
"-framework CoreAudio"
|
||||
"-framework CoreMIDI"
|
||||
"-framework CoreServices"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, SDL, SDL_gfx, SDL_image, tremor, flac, mpg123, libmikmod
|
||||
{lib, stdenv, fetchurl, SDL, SDL_gfx, SDL_image, tremor, flac, mpg123, libmikmod
|
||||
, speex, ncurses
|
||||
, keymap ? "default"
|
||||
, conf ? "unknown"
|
||||
|
@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "http://wejp.k.vu/projects/gmu";
|
||||
description = "Open source music player for portable gaming consoles and handhelds";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, unzip
|
||||
, copyDesktopItems
|
||||
|
@ -8,7 +8,7 @@
|
|||
, isStereo ? false
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
let
|
||||
pname = "goattracker" + optionalString isStereo "-stereo";
|
||||
desktopItem = makeDesktopItem {
|
||||
|
|
|
@ -50,12 +50,12 @@ stdenv.mkDerivation rec {
|
|||
postFixup = ''
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/minidump_upload):${stdenv.lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \
|
||||
--set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/minidump_upload):${lib.makeLibraryPath [ stdenv.cc.cc.lib ]}" \
|
||||
$out/opt/google/musicmanager/minidump_upload
|
||||
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/MusicManager):$out/lib:${stdenv.lib.makeLibraryPath [
|
||||
--set-rpath "$(patchelf --print-rpath $out/opt/google/musicmanager/MusicManager):$out/lib:${lib.makeLibraryPath [
|
||||
flac
|
||||
expat
|
||||
libidn
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, alsaLib, atk, at-spi2-atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype
|
||||
{ lib, stdenv, alsaLib, atk, at-spi2-atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype
|
||||
, fetchurl, GConf, gdk-pixbuf, glib, gtk2, gtk3, libpulseaudio, makeWrapper, nspr
|
||||
, nss, pango, udev, xorg
|
||||
}:
|
||||
|
@ -69,14 +69,14 @@ stdenv.mkDerivation {
|
|||
|
||||
wrapProgram $out/bin/google-play-music-desktop-player \
|
||||
--prefix LD_LIBRARY_PATH : "$out/share/google-play-music-desktop-player" \
|
||||
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath deps}"
|
||||
--prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath deps}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.googleplaymusicdesktopplayer.com/";
|
||||
description = "A beautiful cross platform Desktop Player for Google Play Music";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
license = lib.licenses.mit;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = [ stdenv.lib.maintainers.SuprDewd ];
|
||||
maintainers = [ lib.maintainers.SuprDewd ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ python3Packages.buildPythonApplication rec {
|
|||
./disable-autoupdate.patch
|
||||
];
|
||||
|
||||
postPatch = with stdenv.lib; ''
|
||||
postPatch = with lib; ''
|
||||
sed -i -re 's,^( *gpodder_dir *= *).*,\1"'"$out"'",' bin/gpodder
|
||||
'';
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Virtual Pipe Organ Software";
|
||||
homepage = "https://sourceforge.net/projects/ourorgan";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.puzzlewolf ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.puzzlewolf ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pythonPackages, gettext, klick}:
|
||||
{ lib, stdenv, fetchurl, pythonPackages, gettext, klick}:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "gtklick";
|
||||
|
@ -29,6 +29,6 @@ pythonPackages.buildPythonApplication rec {
|
|||
meta = {
|
||||
homepage = "http://das.nasophon.de/gtklick/";
|
||||
description = "Simple metronome with an easy-to-use GTK interface";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional;
|
||||
inherit (lib) optional;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
Simple arpeggiator
|
||||
Effects: Formant filter, stutter, delay
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ maintainers.magnetophon ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
qttools,
|
||||
qtwebsockets,
|
||||
rtaudio,
|
||||
stdenv
|
||||
lib, stdenv
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -78,8 +78,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "An interactive sequencer for the intermedia arts";
|
||||
homepage = "http://i-score.org/";
|
||||
license = stdenv.lib.licenses.cecill20;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.cecill20;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, alsaLib
|
||||
, audiofile
|
||||
|
@ -43,8 +43,8 @@ stdenv.mkDerivation rec {
|
|||
After a sound is rendered, it can be played and then saved to a .WAV file.
|
||||
'';
|
||||
homepage = "https://sourceforge.net/projects/industrializer/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -26,6 +26,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "http://archive.notam02.no/arkiv/src";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -22,6 +22,6 @@ stdenv.mkDerivation rec {
|
|||
homepage = "http://das.nasophon.de/jack_oscrolloscope";
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libjack2, ladspaH, gtk2, alsaLib, libxml2, lrdf }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libjack2, ladspaH, gtk2, alsaLib, libxml2, lrdf }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jack-rack-1.4.7";
|
||||
src = fetchurl {
|
||||
|
@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
|||
computer into an effects box.
|
||||
'';
|
||||
homepage = "http://jack-rack.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.astsmtl ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.astsmtl ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libjack2, pkgconfig }:
|
||||
{ lib, stdenv, fetchurl, libjack2, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jackmeter-0.4";
|
||||
|
@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Console jack loudness meter";
|
||||
homepage = "https://www.aelius.com/njh/jackmeter/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.marcweber ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ mkDerivation, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qtscript, qmake, libjack2
|
||||
{ mkDerivation, lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, qtscript, qmake, libjack2
|
||||
}:
|
||||
|
||||
mkDerivation rec {
|
||||
|
@ -7,7 +7,7 @@ mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = "corrados";
|
||||
repo = "jamulus";
|
||||
rev = "r${stdenv.lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
rev = "r${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
sha256 = "11rwgd2car7ziqa0vancb363m4ca94pj480jfxywd6d81139jl15";
|
||||
};
|
||||
|
||||
|
@ -20,8 +20,8 @@ mkDerivation rec {
|
|||
description = "Enables musicians to perform real-time jam sessions over the internet";
|
||||
longDescription = "You also need to enable JACK and should enable several real-time optimizations. See project website for details";
|
||||
homepage = "https://github.com/corrados/jamulus/wiki";
|
||||
license = stdenv.lib.licenses.gpl2; # linked in git repo, at least
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.seb314 ];
|
||||
license = lib.licenses.gpl2; # linked in git repo, at least
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.seb314 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, alsaLib, libjack2, fftwFloat, libclthreads, libclxclient, libX11, libXft, zita-alsa-pcmi, }:
|
||||
{ lib, stdenv, fetchurl, alsaLib, libjack2, fftwFloat, libclthreads, libclxclient, libX11, libXft, zita-alsa-pcmi, }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.2";
|
||||
|
@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A 'perceptual' or 'psychoacoustic' audio spectrum analyser for JACK and ALSA";
|
||||
homepage = "http://kokkinizita.linuxaudio.org/linuxaudio/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, sconsPackages, pkgconfig
|
||||
{ lib, stdenv, fetchurl, sconsPackages, pkgconfig
|
||||
, libsamplerate, libsndfile, liblo, libjack2, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "http://das.nasophon.de/klick/";
|
||||
description = "Advanced command-line metronome for JACK";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ladspa-sdk";
|
||||
version = "1.15";
|
||||
|
@ -21,8 +21,8 @@ stdenv.mkDerivation rec {
|
|||
three example programs (applyplugin, analyseplugin and listplugins).
|
||||
'';
|
||||
homepage = "http://www.ladspa.org/ladspa_sdk/overview.html";
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.lgpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ladspa.h";
|
||||
version = "1.15";
|
||||
|
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
|||
For the full SDK, use the ladspa-sdk package.
|
||||
'';
|
||||
homepage = "http://www.ladspa.org/ladspa_sdk/overview.html";
|
||||
license = stdenv.lib.licenses.lgpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.lgpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoPatches = [ ./cargo-lock.patch ];
|
||||
|
||||
cargoBuildFlags = with stdenv.lib; [
|
||||
cargoBuildFlags = with lib; [
|
||||
"--no-default-features"
|
||||
"--features"
|
||||
(concatStringsSep "," (filter (x: x != "") [
|
||||
|
@ -31,9 +31,9 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
buildInputs = [ openssl ] ++ stdenv.lib.optional withALSA alsaLib
|
||||
++ stdenv.lib.optional withPulseAudio libpulseaudio
|
||||
++ stdenv.lib.optional withPortAudio portaudio;
|
||||
buildInputs = [ openssl ] ++ lib.optional withALSA alsaLib
|
||||
++ lib.optional withPulseAudio libpulseaudio
|
||||
++ lib.optional withPortAudio portaudio;
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, pkg-config
|
||||
, intltool
|
||||
|
@ -31,15 +31,15 @@ stdenv.mkDerivation rec {
|
|||
alsaLib
|
||||
libpulseaudio
|
||||
fftw
|
||||
] ++ stdenv.lib.optional jackSupport libjack2;
|
||||
] ++ lib.optional jackSupport libjack2;
|
||||
|
||||
configureFlags = stdenv.lib.optional (!jackSupport) "--disable-jack";
|
||||
configureFlags = lib.optional (!jackSupport) "--disable-jack";
|
||||
|
||||
meta = {
|
||||
description = "Not a Guitar-Only tuner";
|
||||
homepage = "https://www.nongnu.org/lingot/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ viric ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = with lib.platforms; linux;
|
||||
maintainers = with lib.maintainers; [ viric ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, makeWrapper, pkgconfig, MMA, libjack2, libsmf, python2Packages }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, pkgconfig, MMA, libjack2, libsmf, python2Packages }:
|
||||
|
||||
let
|
||||
inherit (python2Packages) pyGtkGlade pygtksourceview python;
|
||||
|
@ -30,8 +30,8 @@ in stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A GUI front-end for MMA: Type in the chords, choose the groove and it will play an accompaniment";
|
||||
homepage = "http://linuxband.org/";
|
||||
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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
SDL
|
||||
]
|
||||
++ stdenv.lib.optional stdenv.isDarwin Foundation
|
||||
++ stdenv.lib.optional stdenv.isLinux jack2;
|
||||
++ lib.optional stdenv.isDarwin Foundation
|
||||
++ lib.optional stdenv.isLinux jack2;
|
||||
|
||||
patches = [
|
||||
# Remove outdated (pre-64bit) checks that would fail on modern platforms
|
||||
|
@ -32,13 +32,13 @@ stdenv.mkDerivation rec {
|
|||
preBuild = "cd projects";
|
||||
|
||||
makeFlags = [ "CXX=${stdenv.cc.targetPrefix}c++" ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ "PLATFORM=DEB" ]
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ "PLATFORM=OSX" ];
|
||||
++ lib.optionals stdenv.isLinux [ "PLATFORM=DEB" ]
|
||||
++ lib.optionals stdenv.isDarwin [ "PLATFORM=OSX" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-fpermissive" ] ++
|
||||
stdenv.lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";
|
||||
lib.optional stdenv.hostPlatform.isAarch64 "-Wno-error=narrowing";
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin "-framework Foundation";
|
||||
NIX_LDFLAGS = lib.optional stdenv.isDarwin "-framework Foundation";
|
||||
|
||||
installPhase = let extension = if stdenv.isDarwin then "app" else "deb-exe";
|
||||
in "install -Dm555 lgpt.${extension} $out/bin/lgpt";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, makeWrapper
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, makeWrapper
|
||||
, libsndfile, jack2Full
|
||||
, libGLU, libGL, lv2, cairo
|
||||
, ladspaH, php }:
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildFlags = [ "release" ];
|
||||
|
||||
meta = with stdenv.lib;
|
||||
meta = with lib;
|
||||
{ description = "Collection of open-source audio plugins";
|
||||
longDescription = ''
|
||||
Compatible with follwing formats:
|
||||
|
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A compressor with character. For jack and lv2";
|
||||
homepage = "https://github.com/magnetophon/CharacterCompressor";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A group of compressors mixed into a bus, sidechained from that mix bus. For jack and lv2";
|
||||
homepage = "https://github.com/magnetophon/CompBus";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A chorus algorithm that maintains constant and symmetric detuning depth (in cents), regardless of modulation rate. For jack and lv2";
|
||||
homepage = "https://github.com/magnetophon/constant-detune-chorus";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A fast yet clean lookahead limiter for jack and lv2";
|
||||
homepage = "https://magnetophon.github.io/LazyLimiter/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Mid-side multiband distortion for jack and lv2";
|
||||
homepage = "https://github.com/magnetophon/MBdistortion";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Tap a rhythm into your delay! For jack and lv2";
|
||||
homepage = "https://github.com/magnetophon/RhythmDelay";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Turn your voice into a synthesizer";
|
||||
homepage = "https://github.com/magnetophon/VoiceOfFaust";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A collection of bread and butter compressors";
|
||||
homepage = "https://github.com/magnetophon/faustCompressors";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Some simple utility lv2 plugins";
|
||||
homepage = "https://github.com/magnetophon/pluginUtils";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "A multiband compressor made from shelving filters.";
|
||||
homepage = "https://github.com/magnetophon/shelfMultiBand";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, pkgconfig
|
||||
{ lib, stdenv, fetchurl, pkgconfig
|
||||
, lv2, libGLU, libGL, gtk2, cairo, pango, fftwFloat, libjack2 }:
|
||||
|
||||
let
|
||||
|
@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
|||
preConfigure = "makeFlagsArray=( PREFIX=$out )";
|
||||
meter_VERSION = version;
|
||||
|
||||
meta = with stdenv.lib;
|
||||
meta = with lib;
|
||||
{ description = "Collection of audio level meters with GUI in LV2 plugin format";
|
||||
homepage = "http://x42.github.io/meters.lv2/";
|
||||
maintainers = with maintainers; [ ehmry ];
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
|
@ -33,9 +33,9 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
inherit (s) version;
|
||||
description = "MIDI to Lilypond converter";
|
||||
license = stdenv.lib.licenses.gpl2Plus ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.linux;
|
||||
broken = true; # 2018-04-11
|
||||
};
|
||||
}
|
||||
|
|
|
@ -47,8 +47,8 @@ in stdenv.mkDerivation {
|
|||
cp bin/Debug/MidiSheetMusic.exe $out/bin/.MidiSheetMusic.exe
|
||||
|
||||
makeWrapper ${mono}/bin/mono $out/bin/midisheetmusic.mono.exe \
|
||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ gtk2 cups ]} \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ timidity ]} \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ gtk2 cups ]} \
|
||||
--prefix PATH : ${lib.makeBinPath [ timidity ]} \
|
||||
--add-flags $out/bin/.MidiSheetMusic.exe
|
||||
'';
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libmikmod, ncurses }:
|
||||
{ lib, stdenv, fetchurl, libmikmod, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mikmod-3.2.8";
|
||||
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Tracker music player for the terminal";
|
||||
homepage = "http://mikmod.shlomifish.org/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, stdenv, autoreconfHook, fetchFromGitHub, pkgconfig
|
||||
{ config, lib, stdenv, autoreconfHook, fetchFromGitHub, pkgconfig
|
||||
, alsaLib, libtool, icu
|
||||
, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }:
|
||||
|
||||
|
@ -22,13 +22,13 @@ stdenv.mkDerivation rec {
|
|||
alsaLib
|
||||
libtool
|
||||
icu
|
||||
] ++ stdenv.lib.optional pulseaudioSupport libpulseaudio;
|
||||
] ++ lib.optional pulseaudioSupport libpulseaudio;
|
||||
|
||||
meta = {
|
||||
description = "Mycroft's TTS engine, based on CMU's Flite (Festival Lite)";
|
||||
homepage = "https://mimic.mycroft.ai/";
|
||||
license = stdenv.lib.licenses.free;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.noneucat ];
|
||||
license = lib.licenses.free;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.noneucat ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, stdenv, pythonPackages, libmms }:
|
||||
{ fetchurl, lib, stdenv, pythonPackages, libmms }:
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
pname = "mimms";
|
||||
|
@ -16,7 +16,7 @@ pythonPackages.buildPythonApplication rec {
|
|||
|
||||
meta = {
|
||||
homepage = "https://savannah.nongnu.org/projects/mimms/";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
description = "An mms (e.g. mms://) stream downloader";
|
||||
|
||||
longDescription = ''
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
}:
|
||||
|
||||
let
|
||||
opt = stdenv.lib.optional;
|
||||
opt = lib.optional;
|
||||
mkFlag = c: f: if c then "--with-${f}" else "--without-${f}";
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
|
@ -57,7 +57,7 @@ in stdenv.mkDerivation rec {
|
|||
++ opt midiSupport timidity
|
||||
++ opt modplugSupport libmodplug
|
||||
++ opt mp3Support libmad
|
||||
++ stdenv.lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
|
||||
++ lib.optionals musepackSupport [ libmpc libmpcdec taglib ]
|
||||
++ opt vorbisSupport libvorbis
|
||||
++ opt speexSupport speex
|
||||
++ opt (ffmpegSupport && !withffmpeg4) ffmpeg_3
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
||||
{ lib, stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mooSpace";
|
||||
version = "unstable-2020-06-10";
|
||||
|
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Variable reverb audio effect, jack and lv2";
|
||||
homepage = "https://github.com/modularev/mooSpace";
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.magnetophon ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ pythonPackages.buildPythonApplication rec {
|
|||
requests
|
||||
setuptools
|
||||
tornado
|
||||
] ++ stdenv.lib.optional (!stdenv.isDarwin) dbus-python
|
||||
] ++ lib.optional (!stdenv.isDarwin) dbus-python
|
||||
);
|
||||
|
||||
# There are no tests
|
||||
|
|
|
@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [
|
||||
ncurses
|
||||
libvorbis
|
||||
] ++ stdenv.lib.optional stdenv.isDarwin SDL;
|
||||
] ++ lib.optional stdenv.isDarwin SDL;
|
||||
|
||||
NIX_CFLAGS_COMPILE = toString ([
|
||||
"-Wno-narrowing"
|
||||
] ++ stdenv.lib.optionals stdenv.cc.isClang [
|
||||
] ++ lib.optionals stdenv.cc.isClang [
|
||||
"-Wno-reserved-user-defined-literal"
|
||||
]);
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, stdenv, ncurses, pkgconfig, gtk2 }:
|
||||
{ fetchurl, lib, stdenv, ncurses, pkgconfig, gtk2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mp3info-0.8.5a";
|
||||
|
@ -37,9 +37,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
homepage = "http://www.ibiblio.org/mp3info/";
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "mp3val";
|
||||
|
@ -30,8 +30,8 @@ stdenv.mkDerivation rec {
|
|||
common types of tags (ID3v1, ID3v2, APEv2).
|
||||
'';
|
||||
homepage = "http://mp3val.sourceforge.net/index.shtml";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.devhell ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.devhell ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1qbi0i9cq54rj8z2kapk8x8g1jkw2jz781niwb9i7kw4xfhvy5zx";
|
||||
};
|
||||
|
||||
buildInputs = [ mpd_clientlib ] ++ stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
buildInputs = [ mpd_clientlib ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
|
||||
|
||||
nativeBuildInputs = [ meson ninja pkgconfig sphinx ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ fetchurl, stdenv, gettext, libmpcdec, libao }:
|
||||
{ fetchurl, lib, stdenv, gettext, libmpcdec, libao }:
|
||||
|
||||
let version = "0.2.4"; in
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
description = "A Musepack (.mpc) audio player";
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, makeWrapper
|
||||
|
||||
|
@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
|
|||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildInputs = [ perl ] ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
|
||||
buildInputs = [ perl ] ++ lib.optional (!stdenv.isDarwin) alsaLib;
|
||||
|
||||
configureFlags = stdenv.lib.optional
|
||||
configureFlags = lib.optional
|
||||
(stdenv.hostPlatform ? mpg123)
|
||||
"--with-cpu=${stdenv.hostPlatform.mpg123.cpu}";
|
||||
|
||||
|
@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Fast console MPEG Audio Player and decoder library";
|
||||
homepage = "http://mpg123.org";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = [ lib.maintainers.ftrvxmtrx ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -25,11 +25,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
configureFlags =
|
||||
[ ("--enable-alsa=" + (if stdenv.isLinux then "yes" else "no")) ]
|
||||
++ (stdenv.lib.optional (defaultAudio != null)
|
||||
++ (lib.optional (defaultAudio != null)
|
||||
"--with-default-audio=${defaultAudio}");
|
||||
|
||||
buildInputs = [libao libid3tag libmad zlib]
|
||||
++ stdenv.lib.optional stdenv.isLinux alsaLib;
|
||||
++ lib.optional stdenv.isLinux alsaLib;
|
||||
|
||||
installTargets = [ "install" "install-man" ];
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ in mkDerivation rec {
|
|||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = with stdenv.lib.versions; "libmt32emu_${major version}_${minor version}_${patch version}";
|
||||
rev = with lib.versions; "libmt32emu_${major version}_${minor version}_${patch version}";
|
||||
sha256 = "0bszhkbz24hhx32f973l6h5lkyn4lxhqrckiwmv765d1sba8n5bk";
|
||||
};
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||
ncurses
|
||||
pulseaudio
|
||||
taglib
|
||||
] ++ stdenv.lib.optional systemdSupport systemd;
|
||||
] ++ lib.optional systemdSupport systemd;
|
||||
|
||||
cmakeFlags = [
|
||||
"-DDISABLE_STRIP=true"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
|
@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
homepage = "https://jcorporation.github.io/mympd";
|
||||
description = "A standalone and mobile friendly web mpd client with a tiny footprint and advanced features";
|
||||
maintainers = [ stdenv.lib.maintainers.doronbehar ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = [ lib.maintainers.doronbehar ];
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
, pcre ? null
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
assert pcreSupport -> pcre != null;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkgconfig, readline
|
||||
{ lib, stdenv, fetchurl, boost, mpd_clientlib, ncurses, pkgconfig, readline
|
||||
, libiconv, icu, curl
|
||||
, outputsSupport ? true # outputs screen
|
||||
, visualizerSupport ? false, fftw ? null # visualizer screen
|
||||
|
@ -9,7 +9,7 @@
|
|||
assert visualizerSupport -> (fftw != null);
|
||||
assert taglibSupport -> (taglib != null);
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ncmpcpp";
|
||||
version = "0.9.1";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchFromGitHub, pkgconfig, python2, cairo, libjpeg, ntk, libjack2
|
||||
{ lib, stdenv, fetchFromGitHub, pkgconfig, python2, cairo, libjpeg, ntk, libjack2
|
||||
, libsndfile, ladspaH, liblo, libsigcxx, lrdf, wafHook
|
||||
}:
|
||||
|
||||
|
@ -20,8 +20,8 @@ stdenv.mkDerivation {
|
|||
meta = {
|
||||
description = "Lightweight and lightning fast modular Digital Audio Workstation";
|
||||
homepage = "http://non.tuxfamily.org";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.nico202 ];
|
||||
license = lib.licenses.lgpl21;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.nico202 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -17,9 +17,9 @@ in stdenv.mkDerivation {
|
|||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ zlib mpg123 libogg libvorbis portaudio libsndfile flac ]
|
||||
++ stdenv.lib.optional usePulseAudio libpulseaudio;
|
||||
++ lib.optional usePulseAudio libpulseaudio;
|
||||
|
||||
configureFlags = stdenv.lib.optional (!usePulseAudio) "--without-pulseaudio";
|
||||
configureFlags = lib.optional (!usePulseAudio) "--without-pulseaudio";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A cross-platform command-line based module file player";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, libogg, libao, pkgconfig, flac, opusfile, libopusenc}:
|
||||
{lib, stdenv, fetchurl, libogg, libao, pkgconfig, flac, opusfile, libopusenc}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "opus-tools-0.2";
|
||||
|
@ -13,8 +13,8 @@ stdenv.mkDerivation rec {
|
|||
meta = {
|
||||
description = "Tools to work with opus encoded audio streams";
|
||||
homepage = "https://www.opus-codec.org/";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
maintainers = with stdenv.lib.maintainers; [ ];
|
||||
platforms = with stdenv.lib.platforms; unix;
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ ];
|
||||
platforms = with lib.platforms; unix;
|
||||
};
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue