···15 # "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
1617 # Version to build.
18- tag = "4.4";
1920in
21···25 src = fetchFromGitHub {
26 owner = "Ardour";
27 repo = "ardour";
28- rev = "b00d75adf63db155ef2873bd9d259dc8ca256be6";
29- sha256 = "1gnrcnq2ksnh7fsa301v1c4p5dqrbqpjylf02rg3za3ab58wxi7l";
30 };
3132 buildInputs =
···38 ];
3940 # ardour's wscript has a "tarball" target but that required the git revision
41- # be available. Since this is an unzipped tarball fetched from github we
42 # have to do that ourself.
43 patchPhase = ''
44 printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-${builtins.substring 0 8 src.rev}\"; }\n' > libs/ardour/revision.cc
···15 # "git describe" when _not_ on an annotated tag(!): MAJOR.MINOR-REV-HASH.
1617 # Version to build.
18+ tag = "4.7";
1920in
21···25 src = fetchFromGitHub {
26 owner = "Ardour";
27 repo = "ardour";
28+ rev = "d84a8222f2b6dab5028b2586f798535a8766670e";
29+ sha256 = "149gswphz77m3pkzsn2nqbm6yvcfa3fva560bcvjzlgb73f64q5l";
30 };
3132 buildInputs =
···38 ];
3940 # ardour's wscript has a "tarball" target but that required the git revision
41+ # be available. Since this is an unzipped tarball fetched from github we
42 # have to do that ourself.
43 patchPhase = ''
44 printf '#include "libs/ardour/ardour/revision.h"\nnamespace ARDOUR { const char* revision = \"${tag}-${builtins.substring 0 8 src.rev}\"; }\n' > libs/ardour/revision.cc