ardour: format with nixpkgs-fmt

This commit is contained in:
Jan Tojnar 2020-04-06 04:28:15 +02:00
parent dbc8a54ce5
commit eac0ee6c51
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,14 +1,53 @@
{ stdenv, fetchgit, alsaLib, aubio, boost, cairomm, curl, doxygen { stdenv
, fftwSinglePrec, flac, glibc, glibmm, graphviz, gtkmm2, libjack2 , fetchgit
, libgnomecanvas, libgnomecanvasmm, liblo, libmad, libogg , alsaLib
, librdf_raptor, librdf_rasqal, libsamplerate, libsigcxx, libsndfile , aubio
, libusb, libuuid, libxml2, libxslt, lilv, lrdf, lv2, makeWrapper , boost
, perl, pkgconfig, python2, rubberband, serd, sord, sratom , cairomm
, taglib, vamp-plugin-sdk, dbus, fftw, pango, suil, libarchive , curl
, wafHook }: , doxygen
, fftwSinglePrec
, flac
, glibc
, glibmm
, graphviz
, gtkmm2
, libjack2
, libgnomecanvas
, libgnomecanvasmm
, liblo
, libmad
, libogg
, librdf_raptor
, librdf_rasqal
, libsamplerate
, libsigcxx
, libsndfile
, libusb
, libuuid
, libxml2
, libxslt
, lilv
, lrdf
, lv2
, makeWrapper
, perl
, pkgconfig
, python2
, rubberband
, serd
, sord
, sratom
, taglib
, vamp-plugin-sdk
, dbus
, fftw
, pango
, suil
, libarchive
, wafHook
}:
let let
# Ardour git repo uses a mix of annotated and lightweight tags. Annotated # Ardour git repo uses a mix of annotated and lightweight tags. Annotated
# tags are used for MAJOR.MINOR versioning, and lightweight tags are used # tags are used for MAJOR.MINOR versioning, and lightweight tags are used
# in-between; MAJOR.MINOR.REV where REV is the number of commits since the # in-between; MAJOR.MINOR.REV where REV is the number of commits since the
@ -18,10 +57,7 @@ let
# Version to build. # Version to build.
tag = "5.12"; tag = "5.12";
in stdenv.mkDerivation rec {
in
stdenv.mkDerivation rec {
name = "ardour-${tag}"; name = "ardour-${tag}";
src = fetchgit { src = fetchgit {
@ -30,15 +66,56 @@ stdenv.mkDerivation rec {
sha256 = "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr"; sha256 = "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr";
}; };
nativeBuildInputs = [ wafHook ]; nativeBuildInputs = [
buildInputs = wafHook
[ alsaLib aubio boost cairomm curl doxygen dbus fftw fftwSinglePrec flac ];
glibmm graphviz gtkmm2 libjack2 libgnomecanvas libgnomecanvasmm liblo
libmad libogg librdf_raptor librdf_rasqal libsamplerate buildInputs = [
libsigcxx libsndfile libusb libuuid libxml2 libxslt lilv lrdf lv2 alsaLib
makeWrapper pango perl pkgconfig python2 rubberband serd sord aubio
sratom suil taglib vamp-plugin-sdk libarchive boost
]; cairomm
curl
doxygen
dbus
fftw
fftwSinglePrec
flac
glibmm
graphviz
gtkmm2
libjack2
libgnomecanvas
libgnomecanvasmm
liblo
libmad
libogg
librdf_raptor
librdf_rasqal
libsamplerate
libsigcxx
libsndfile
libusb
libuuid
libxml2
libxslt
lilv
lrdf
lv2
makeWrapper
pango
perl
pkgconfig
python2
rubberband
serd
sord
sratom
suil
taglib
vamp-plugin-sdk
libarchive
];
# ardour's wscript has a "tarball" target but that required the git revision # ardour's wscript has a "tarball" target but that required the git revision
# be available. Since this is an unzipped tarball fetched from github we # be available. Since this is an unzipped tarball fetched from github we