mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
fmit: 1.0.14 -> 1.0.15
Fix version number in about box. It turns out that sniffing your README.txt, at run-time, for a version string, at a specific line offset, is... fragile?
This commit is contained in:
parent
0adf2b25a1
commit
8d9a25387f
@ -11,20 +11,24 @@ with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "fmit-${version}";
|
||||
version = "1.0.14";
|
||||
version = "1.0.15";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
sha256 = "1f8raqpqqyr02lnpxxpg69a2if1nbw0za71x62kcp3pms1qc0mbh";
|
||||
sha256 = "0bakqwgl7xx6khs8993w10a8kvlbr7sbqdaljbsmy8y8mjd6inqb";
|
||||
rev = "v${version}";
|
||||
repo = "fmit";
|
||||
owner = "gillesdegottex";
|
||||
};
|
||||
|
||||
buildInputs = [ fftw freeglut mesa_glu qtbase qtmultimedia qmakeHook ]
|
||||
buildInputs = [ fftw qtbase qtmultimedia qmakeHook ]
|
||||
++ optionals alsaSupport [ alsaLib ]
|
||||
++ optionals jackSupport [ libjack2 ]
|
||||
++ optionals portaudioSupport [ portaudio ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace fmit.pro --replace '$$FMITVERSIONGITPRO' '${version}'
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
qmakeFlags="$qmakeFlags \
|
||||
CONFIG+=${optionalString alsaSupport "acs_alsa"} \
|
||||
|
Loading…
Reference in New Issue
Block a user