tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lenmus: unbreak on aarch64-linux
Weijia Wang
3 years ago
6760c8b4
e0e6444e
+33
-10
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
lenmus
default.nix
+33
-10
pkgs/applications/misc/lenmus/default.nix
···
1
-
{ lib, stdenv, pkg-config, fetchFromGitHub, fetchpatch
2
-
, cmake, boost
3
-
, portmidi, sqlite
4
-
, freetype, libpng, pngpp, zlib
5
-
, wxGTK30, wxsqlite3
0
0
0
0
0
0
0
0
0
0
6
}:
7
8
stdenv.mkDerivation rec {
···
25
url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch";
26
sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn";
27
})
0
0
0
0
0
28
];
29
30
-
nativeBuildInputs = [ cmake pkg-config ];
0
0
0
0
31
buildInputs = [
32
boost
33
-
portmidi sqlite
34
-
freetype libpng pngpp zlib
35
-
wxGTK30 wxsqlite3
0
0
0
0
0
36
];
37
38
meta = with lib; {
···
46
license = licenses.gpl3Plus;
47
maintainers = with maintainers; [ ramkromberg ];
48
platforms = with platforms; linux;
49
-
broken = stdenv.hostPlatform.isAarch64;
50
};
51
}
···
1
+
{ lib
2
+
, stdenv
3
+
, pkg-config
4
+
, fetchFromGitHub
5
+
, fetchpatch
6
+
, cmake
7
+
, boost
8
+
, portmidi
9
+
, sqlite
10
+
, freetype
11
+
, libpng
12
+
, pngpp
13
+
, zlib
14
+
, wxGTK30-gtk3
15
+
, wxsqlite3
16
}:
17
18
stdenv.mkDerivation rec {
···
35
url = "https://github.com/lenmus/lenmus/commit/6613d20d4051effc782203c9c6d92962a3f66b5f.patch";
36
sha256 = "01vvzzpamv90jpqbbq1f2m2b4gb9xab9z70am8i41d90nqvg6agn";
37
})
38
+
(fetchpatch {
39
+
url = "https://github.com/lenmus/lenmus/commit/37ee8ac9c8faff65a14e8f7ed2bc22e6dc48d91f.patch";
40
+
includes = [ "src/app/lenmus_midi_wizard.cpp" ];
41
+
sha256 = "sha256-nlT6ZbSCIXUk2Ufv/SDn2A0Rt+s/7m+7l9HOoQmaIhc=";
42
+
})
43
];
44
45
+
nativeBuildInputs = [
46
+
cmake
47
+
pkg-config
48
+
];
49
+
50
buildInputs = [
51
boost
52
+
portmidi
53
+
sqlite
54
+
freetype
55
+
libpng
56
+
pngpp
57
+
zlib
58
+
wxGTK30-gtk3
59
+
wxsqlite3
60
];
61
62
meta = with lib; {
···
70
license = licenses.gpl3Plus;
71
maintainers = with maintainers; [ ramkromberg ];
72
platforms = with platforms; linux;
0
73
};
74
}