summary refs log tree commit diff
path: root/pkgs/applications/audio/iannix/default.nix
blob: f37150994fc4b6597f9dce709513371e553fa0c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ mkDerivation, lib, fetchFromGitHub, alsa-lib, pkg-config, qtbase, qtscript, qmake
}:

mkDerivation rec {
  pname = "iannix";
  version = "unstable-2020-12-09";

  src = fetchFromGitHub {
    owner = "iannix";
    repo = "IanniX";
    rev = "287b51d9b90b3e16ae206c0c4292599619f7b159";
    sha256 = "AhoP+Ok78Vk8Aee/RP572hJeM8O7v2ZTvFalOZZqRy8=";
  };

  nativeBuildInputs = [ pkg-config qmake ];
  buildInputs = [ alsa-lib qtbase qtscript ];

  qmakeFlags = [ "PREFIX=/" ];

  installFlags = [ "INSTALL_ROOT=$(out)" ];

  enableParallelBuilding = true;

  meta = with lib; {
    description = "Graphical open-source sequencer";
    homepage = "https://www.iannix.org/";
    license = licenses.lgpl3;
    platforms = platforms.linux;
    maintainers = with maintainers; [ freezeboy ];
  };
}