summary refs log tree commit diff
path: root/pkgs/applications/audio/luppp/default.nix
blob: c1494ffc3334e401a66267face07c377c7f79881 (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
32
33
34
35
36
37
38
39
40
{ stdenv, fetchFromGitHub
, meson
, ninja
, pkgconfig
, jack2
, cairo
, liblo
, libsndfile
, libsamplerate
, ntk
}:

stdenv.mkDerivation rec {
  pname = "luppp";
  version = "1.2.0";
  patches = [ ./build-install.patch ];

  src = fetchFromGitHub {
    owner = "openAVproductions";
    repo = "openAV-Luppp";
    rev = "release-${version}";
    sha256 = "194yq0lqc2psq9vyxmzif40ccawcvd9jndcn18mkz4f8h5w5rc1a";
  };

  nativeBuildInputs = [
    meson ninja pkgconfig
  ];

  buildInputs = [
    jack2 cairo liblo libsndfile libsamplerate ntk
  ];

  meta = with stdenv.lib; {
    homepage = "http://openavproductions.com/luppp/";
    description = "A music creation tool, intended for live use";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ prusnak ];
    platforms = platforms.linux;
  };
}