about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/lpd8editor/default.nix
blob: 4b92417dc694c5dad59613050b9ec65c404ff501 (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
41
{ lib
, qt5
, stdenv
, git
, fetchFromGitHub
, cmake
, alsa-lib
, qttools
}:

stdenv.mkDerivation rec {
  pname = "lpd8editor";
  version = "0.0.16";

  src = fetchFromGitHub {
    owner = "charlesfleche";
    repo = "lpd8editor";
    rev = "v${version}";
    hash = "sha256-lRp2RhNiIf1VrryfKqYFSbKG3pktw3M7B49fXVoj+C8=";
  };

  buildInputs = [
    qttools
    alsa-lib
  ];

  nativeBuildInputs = [
    cmake
    git
    qt5.wrapQtAppsHook
  ];

  meta = with lib; {
    description = "A linux editor for the Akai LPD8";
    homepage = "https://github.com/charlesfleche/lpd8editor";
    license = licenses.mit;
    maintainers = with maintainers; [ pinpox ];
    mainProgram = "lpd8editor";
    platforms = platforms.all;
  };
}