1 { mkDerivation, lib, fetchFromGitHub, fftw, libsndfile, qtbase, qtmultimedia, qmake }:
6 src = fetchFromGitHub {
7 sha256 = "07m2wf2gqyya95b65gawrnr4pvc9jyzmg6h8sinzgxlpskz93wwc";
8 rev = "39053e8896eedd7b3e8a9e9a9ffd80f1fc6ceb16";
10 owner = "gillesdegottex";
13 license = licenses.asl20;
18 src = fetchFromGitHub {
19 sha256 = "0m6x1qm7lbjplqasr2jhnd2ndi0y6z9ybbiiixnlwfm23sp15wci";
20 rev = "9ae051989a8fed0b2f8194b1501151909a821a89";
21 repo = "libqaudioextra";
22 owner = "gillesdegottex";
25 license = licenses.gpl3Plus;
33 src = fetchFromGitHub {
34 sha256 = "09fcyjm0hg3y51fnjax88m93im39nbynxj79ffdknsazmqw9ac0h";
37 owner = "gillesdegottex";
40 buildInputs = [ fftw libsndfile qtbase qtmultimedia ];
42 nativeBuildInputs = [ qmake ];
45 cp -Rv "${reaperFork.src}"/* external/REAPER
46 cp -Rv "${libqaudioextra.src}"/* external/libqaudioextra
47 substituteInPlace dfasma.pro --replace "CONFIG += file_sdif" "";
51 description = "Analyse and compare audio files in time and frequency";
52 mainProgram = "dfasma";
54 DFasma is free open-source software to compare audio files by time and
55 frequency. The comparison is first visual, using wavforms and spectra. It
56 is also possible to listen to time-frequency segments in order to allow
57 perceptual comparison. It is basically dedicated to analysis. Even though
58 there are basic functionalities to align the signals in time and
59 amplitude, this software does not aim to be an audio editor.
61 homepage = "https://gillesdegottex.gitlab.io/dfasma-website/";
62 license = [ licenses.gpl3Plus reaperFork.meta.license ];
63 platforms = platforms.linux;