2015-06-15 20:34:30 +01:00
|
|
|
{ stdenv, fetchFromGitHub, alsaLib, cmake, fftw
|
2015-06-27 08:17:52 +01:00
|
|
|
, freeglut, libjack2, libXmu, qt4 }:
|
2015-01-11 02:19:40 +00:00
|
|
|
|
2015-06-15 20:34:30 +01:00
|
|
|
let version = "1.0.0"; in
|
|
|
|
stdenv.mkDerivation {
|
2015-01-11 02:19:40 +00:00
|
|
|
name = "fmit-${version}";
|
|
|
|
|
2015-06-15 20:34:30 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "13y9csv34flz7065kg69h99hd7d9zskq12inmkf34l4qjyk7c185";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "fmit";
|
|
|
|
owner = "gillesdegottex";
|
2015-01-11 02:19:40 +00:00
|
|
|
};
|
|
|
|
|
2015-06-27 08:17:52 +01:00
|
|
|
buildInputs = [ alsaLib fftw freeglut libjack2 libXmu qt4 ];
|
2015-06-15 20:34:30 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2015-01-11 02:19:40 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-06-15 20:34:30 +01:00
|
|
|
inherit version;
|
2015-01-11 02:19:40 +00:00
|
|
|
description = "Free Musical Instrument Tuner";
|
|
|
|
longDescription = ''
|
2015-06-15 20:34:30 +01:00
|
|
|
FMIT is a graphical utility for tuning your musical instruments, with
|
|
|
|
error and volume history and advanced features.
|
2015-01-11 02:19:40 +00:00
|
|
|
'';
|
2015-06-15 20:34:30 +01:00
|
|
|
homepage = http://gillesdegottex.github.io/fmit/;
|
2015-05-28 18:20:29 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2015-01-11 02:19:40 +00:00
|
|
|
platforms = with platforms; linux;
|
|
|
|
maintainers = with maintainers; [ nckx ];
|
|
|
|
};
|
|
|
|
}
|