1{
2 lib,
3 qt5,
4 stdenv,
5 gitMinimal,
6 fetchFromGitHub,
7 cmake,
8 alsa-lib,
9 qttools,
10}:
11
12stdenv.mkDerivation rec {
13 pname = "lpd8editor";
14 version = "0.0.16";
15
16 src = fetchFromGitHub {
17 owner = "charlesfleche";
18 repo = "lpd8editor";
19 rev = "v${version}";
20 hash = "sha256-lRp2RhNiIf1VrryfKqYFSbKG3pktw3M7B49fXVoj+C8=";
21 };
22
23 buildInputs = [
24 qttools
25 alsa-lib
26 ];
27
28 nativeBuildInputs = [
29 cmake
30 gitMinimal
31 qt5.wrapQtAppsHook
32 ];
33
34 meta = with lib; {
35 description = "Linux editor for the Akai LPD8";
36 homepage = "https://github.com/charlesfleche/lpd8editor";
37 license = licenses.mit;
38 maintainers = with maintainers; [ pinpox ];
39 mainProgram = "lpd8editor";
40 platforms = platforms.all;
41 };
42}