···11-{ lib, stdenv
22-, fetchgit
33-, alsa-lib
44-, aubio
55-, boost
66-, cairomm
77-, curl
88-, doxygen
99-, fftwSinglePrec
1010-, flac
1111-, glibmm
1212-, graphviz
1313-, gtkmm2
1414-, libjack2
1515-, liblo
1616-, libogg
1717-, libsamplerate
1818-, libsigcxx
1919-, libsndfile
2020-, libusb1
2121-, fluidsynth_1
2222-, hidapi
2323-, libltc
2424-, qm-dsp
2525-, libxml2
2626-, lilv
2727-, lrdf
2828-, lv2
2929-, perl
3030-, pkg-config
3131-, itstool
3232-, python2
3333-, rubberband
3434-, serd
3535-, sord
3636-, sratom
3737-, taglib
3838-, vamp-plugin-sdk
3939-, dbus
4040-, fftw
4141-, pango
4242-, suil
4343-, libarchive
4444-, wafHook
4545-}:
4646-let
4747- # Ardour git repo uses a mix of annotated and lightweight tags. Annotated
4848- # tags are used for MAJOR.MINOR versioning, and lightweight tags are used
4949- # in-between; MAJOR.MINOR.REV where REV is the number of commits since the
5050- # last annotated tag. A slightly different version string format is needed
5151- # for the 'revision' info that is built into the binary; it is the format of
5252- # "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
5353-5454- # Version to build.
5555- tag = "5.12";
5656-in stdenv.mkDerivation rec {
5757- pname = "ardour_5";
5858- version = "5.12";
5959-6060- src = fetchgit {
6161- url = "git://git.ardour.org/ardour/ardour.git";
6262- rev = "ae0dcdc0c5d13483271065c360e378202d20170a";
6363- sha256 = "0mla5lm51ryikc2rrk53max2m7a5ds6i1ai921l2h95wrha45nkr";
6464- };
6565-6666- nativeBuildInputs = [
6767- wafHook
6868- pkg-config
6969- itstool
7070- doxygen
7171- graphviz # for dot
7272- perl
7373- python2
7474- ];
7575-7676- buildInputs = [
7777- alsa-lib
7878- aubio
7979- boost
8080- cairomm
8181- curl
8282- dbus
8383- fftw
8484- fftwSinglePrec
8585- flac
8686- glibmm
8787- gtkmm2
8888- libjack2
8989- liblo
9090- libogg
9191- libsamplerate
9292- libsigcxx
9393- libsndfile
9494- libusb1
9595- fluidsynth_1
9696- hidapi
9797- libltc
9898- qm-dsp
9999- libxml2
100100- lilv
101101- lrdf
102102- lv2
103103- pango
104104- rubberband
105105- serd
106106- sord
107107- sratom
108108- suil
109109- taglib
110110- vamp-plugin-sdk
111111- libarchive
112112- ];
113113-114114- wafConfigureFlags = [
115115- "--optimize"
116116- "--docs"
117117- "--use-external-libs"
118118- "--freedesktop"
119119- "--with-backends=jack,alsa,dummy"
120120- ];
121121-122122- NIX_CFLAGS_COMPILE = "-I${qm-dsp}/include/qm-dsp";
123123-124124- # ardour's wscript has a "tarball" target but that required the git revision
125125- # be available. Since this is an unzipped tarball fetched from github we
126126- # have to do that ourself.
127127- postPatch = ''
128128- printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-${builtins.substring 0 8 src.rev}\"; }\n' > libs/ardour/revision.cc
129129- patchShebangs ./tools/
130130- '';
131131-132132- postInstall = ''
133133- # wscript does not install these for some reason
134134- install -vDm 644 "build/gtk2_ardour/ardour.xml" \
135135- -t "$out/share/mime/packages"
136136- install -vDm 644 "build/gtk2_ardour/ardour5.desktop" \
137137- -t "$out/share/applications"
138138- for size in 16 22 32 48 256 512; do
139139- install -vDm 644 "gtk2_ardour/resources/Ardour-icon_''${size}px.png" \
140140- "$out/share/icons/hicolor/''${size}x''${size}/apps/ardour5.png"
141141- done
142142- install -vDm 644 "ardour.1"* -t "$out/share/man/man1"
143143- '';
144144-145145- meta = with lib; {
146146- description = "Multi-track hard disk recording software";
147147- longDescription = ''
148148- Ardour is a digital audio workstation (DAW), You can use it to
149149- record, edit and mix multi-track audio and midi. Produce your
150150- own CDs. Mix video soundtracks. Experiment with new ideas about
151151- music and sound.
152152-153153- Please consider supporting the ardour project financially:
154154- https://community.ardour.org/donate
155155- '';
156156- homepage = "https://ardour.org/";
157157- license = licenses.gpl2;
158158- platforms = platforms.linux;
159159- maintainers = with maintainers; [ goibhniu fps ];
160160- };
161161-}
+1
pkgs/top-level/aliases.nix
···5454 amsn = throw "amsn has been removed due to being unmaintained."; # added 2020-12-09
5555 antimicro = throw "antimicro has been removed as it was broken, see antimicroX instead."; # added 2020-08-06
5656 arduino_core = arduino-core; # added 2015-02-04
5757+ ardour_5 = throw "ardour_5 has been removed. see https://github.com/NixOS/nixpkgs/issues/139549"; # added 2021-09-28
5758 arora = throw "arora has been removed."; # added 2020-09-09
5859 asciidocFull = asciidoc-full; # added 2014-06-22
5960 asterisk_15 = throw "asterisk_15: Asterisk 15 is end of life and has been removed."; # added 2020-10-07